//PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_drat.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_drat.c typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; //ICAT EXPORTED ENUM typedef enum { No_Debug=0 , OsUtil_Over_IML , IPC_Over_IML , OsUtil_and_IPC_Over_IML } DSP_IML_CONFIG_te; //ICAT EXPORTED ENUM typedef enum { AAAP_DISABLED=0 , AAAP_ENABLED } AAAP_MODE_te; //ICAT EXPORTED STRUCT typedef struct { BOOL SendAudioDebug ; UINT8 EnableGsmFTtool ; // 0 -not active , 1 -active except when PTM , 2 -active all the time AAAP_MODE_te AaapMode ; } DSPDebugConfigNvm_ts; //ICAT EXPORTED ENUM typedef enum PmaxReductionFlagTypeTag { PMAX_REDUCTION_DISABLE = 0 , PMAX_REDUCTION_ENABLE } PmaxReductionFlagType; //ICAT EXPORTED STRUCT typedef struct RspDigRfGSMPACompenConfigTag { signed short gsmPACompenValueEGSM [ 2 ] [ 4 ] ; // dB in Q3 // [ 2 ] is for modulation: 0 : GMSK ; 1 : EPSK. // [ 4 ] is for number of Tx burst: 0 : 1 st Tx ; 1 : 2 nd Tx ; 2 : 3 rd Tx ; 3 : 4 th Tx ; signed short gsmPACompenValueGSM850 [ 2 ] [ 4 ] ; signed short gsmPACompenValueDCS [ 2 ] [ 4 ] ; signed short gsmPACompenValuePCS [ 2 ] [ 4 ] ; } RspDigRfGSMPACompenConfig_ts; //ICAT EXPORTED STRUCT typedef struct RspDigRfWBDBDCConfigTag { UINT8 numOfBandCom ; // num of band combination supported UINT8 bandComList [ 16 ] ; // the supported band combination , defined in 25.101000 : // DBDCConfiguration Index | UL Band | DL Band A | DL Band B | // 0 | I or VIII | I | VIII | // 1 | II or IV | II | IV | // 2 | I or V | I | V | // 3 | I or XI | I | XI | // 4 | II or V | II | V | } RspDigRfWBDBDCConfig_ts; //ICAT EXPORTED STRUCT typedef struct RspGSMPmaxReductionConfigTag { PmaxReductionFlagType pmaxReductionFlag ; signed short pmaxReductionValueEGSM [ 2 ] [ 4 ] ; // dB in Q3 // [ 2 ] is for modulation: 0 : GMSK ; 1 : EPSK. // [ 4 ] is for number of Tx burst: 0 : 1 Tx ; 1 : 2 Tx ; 2 : 3 Tx ; 3 : 4 Tx ; signed short pmaxReductionValueGSM850 [ 2 ] [ 4 ] ; signed short pmaxReductionValueDCS [ 2 ] [ 4 ] ; signed short pmaxReductionValuePCS [ 2 ] [ 4 ] ; } RspGSMPmaxReductionConfig_ts; //ICAT EXPORTED STRUCT typedef struct RspWbPmaxReductionConfigTag { PmaxReductionFlagType pmaxReductionFlag ; signed short pmaxReductionValueWBand1 ; signed short pmaxReductionValueWBand2 ; signed short pmaxReductionValueWBand4 ; signed short pmaxReductionValueWBand5 ; signed short pmaxReductionValueWBand8 ; } RspWbPmaxReductionConfig_ts; //ICAT EXPORTED STRUCT typedef struct RspDigRfLtePmaxReductionConfigTag { PmaxReductionFlagType pmaxReductionFlag ; /*CQ00107649 start del , no need 2 \3G band*/ /*CQ00107649 end del*/ // CQ00066262 add start , for LTE 44 bands signed short pmaxReductionValueLTEBand1 ; signed short pmaxReductionValueLTEBand2 ; signed short pmaxReductionValueLTEBand3 ; signed short pmaxReductionValueLTEBand4 ; signed short pmaxReductionValueLTEBand5 ; signed short pmaxReductionValueLTEBand6 ; signed short pmaxReductionValueLTEBand7 ; signed short pmaxReductionValueLTEBand8 ; signed short pmaxReductionValueLTEBand9 ; signed short pmaxReductionValueLTEBand10 ; signed short pmaxReductionValueLTEBand11 ; signed short pmaxReductionValueLTEBand12 ; signed short pmaxReductionValueLTEBand13 ; signed short pmaxReductionValueLTEBand14 ; signed short pmaxReductionValueLTEBand15 ; signed short pmaxReductionValueLTEBand16 ; signed short pmaxReductionValueLTEBand17 ; signed short pmaxReductionValueLTEBand18 ; signed short pmaxReductionValueLTEBand19 ; signed short pmaxReductionValueLTEBand20 ; signed short pmaxReductionValueLTEBand21 ; signed short pmaxReductionValueLTEBand22 ; signed short pmaxReductionValueLTEBand23 ; signed short pmaxReductionValueLTEBand24 ; signed short pmaxReductionValueLTEBand25 ; signed short pmaxReductionValueLTEBand26 ; signed short pmaxReductionValueLTEBand27 ; signed short pmaxReductionValueLTEBand28 ; signed short pmaxReductionValueLTEBand29 ; signed short pmaxReductionValueLTEBand30 ; signed short pmaxReductionValueLTEBand31 ; signed short pmaxReductionValueLTEBand32 ; signed short pmaxReductionValueLTEBand33 ; signed short pmaxReductionValueLTEBand34 ; signed short pmaxReductionValueLTEBand35 ; signed short pmaxReductionValueLTEBand36 ; signed short pmaxReductionValueLTEBand37 ; signed short pmaxReductionValueLTEBand38 ; signed short pmaxReductionValueLTEBand39 ; signed short pmaxReductionValueLTEBand40 ; signed short pmaxReductionValueLTEBand41 ; signed short pmaxReductionValueLTEBand42 ; signed short pmaxReductionValueLTEBand43 ; signed short pmaxReductionValueLTEBand44 ; // CQ00066262 add end , for LTE 44 bands } RspDigRfLtePmaxReductionConfig_ts; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef unsigned int size_t ; typedef unsigned int clock_t ; typedef unsigned int time_t ; //ICAT EXPORTED STRUCT typedef struct { UINT8 second ; // Seconds after minute: 0 - 59 UINT8 minute ; // Minutes after hour: 0 - 59 UINT8 hour ; // Hours after midnight: 0 - 23 UINT8 day ; // Day of month: 1 - 31 UINT8 month ; // Month of year: 1 - 12 unsigned short year ; // Calendar year: e.g 2001 } RTC_CalendarTime; typedef UINT8 RTC_Handle ; typedef void ( *RTC_ISR ) ( void ) ; typedef void ( *RTCOnTimeSetNotifyCallback ) ( RTC_CalendarTime* oldTime , RTC_CalendarTime* newTime ) ; //ICAT EXPORTED ENUM typedef enum { // enumerated EE_SYS_RESET_EN , EE_ASSERT_EN , EE_EXCEPTION_EN , EE_WARNING_EN , EE_NUM_ENTRY_TYPES , // Codes EE_SYS_RESET = 300 , EE_ASSERT = 350 , EE_EXCEPTION = 450 , EE_WARNING = 550 } EE_entry_t; //ICAT EXPORTED ENUM typedef enum { EEE_DataAbort , EEE_PrefetchAbort , EEE_FatalError , EEE_SWInterrupt , EEE_UndefInst , EEE_ReservedInt } EE_ExceptionType_t; //ICAT EXPORTED ENUM typedef enum { EE_NO_RESET_SOURCE , EE_POWER_ON_RESET = PMU_POR , EE_EXT_MASTER_RESET , EE_WDT_RESET = ( PMU_EMR+2 ) } EE_PMU_t; //ICAT EXPORTED STRUCT typedef struct { UINT32 r0 ; /* register r0 contents */ UINT32 r1 ; /* register r1 contents */ UINT32 r2 ; /* register r2 contents */ UINT32 r3 ; /* register r3 contents */ UINT32 r4 ; /* register r4 contents */ UINT32 r5 ; /* register r5 contents */ UINT32 r6 ; /* register r6 contents */ UINT32 r7 ; /* register r7 contents */ UINT32 r8 ; /* register r8 contents */ UINT32 r9 ; /* register r9 contents */ UINT32 r10 ; /* register r10 contents */ UINT32 r11 ; /* register r11 contents */ UINT32 r12 ; /* register r12 contents */ UINT32 SP ; /* register r13 contents */ UINT32 LR ; /* register r14 contents ( excepted mode ) */ UINT32 PC ; /* PC - excepted instruction */ UINT32 cpsr ; /* saved program status register contents */ UINT32 FSR ; /* Fault status register */ UINT32 FAR_R ; /* Fault address register */ EE_PMU_t PMU_reg ; /* saved reset cause - should be last */ // UINT32 PESR ; / * Extension * / // UINT32 XESR ; // UINT32 PEAR ; // UINT32 FEAR ; // UINT32 SEAR ; // UINT32 GEAR ; } EE_RegInfo_Data_t; //ICAT EXPORTED ENUM typedef enum { /* @ENUM_DESC@ EE context types to be saved in the context buffer*/ EE_CT_None , /* @ENUM_VAL_DESC@ Save no context*/ EE_CT_ExecTrace , /* @ENUM_VAL_DESC@ Save Trace buffer*/ EE_CT_StackDump /* @ENUM_VAL_DESC@ Save Stack Dump*/ } EE_ContextType_t; //ICAT EXPORTED ENUM typedef enum { EE_CDT_None , EE_CDT_ExecTrace , EE_CDT_StackDump , EE_CDT_UserDefined=0x10 } EE_ContextDataType_t; //ICAT EXPORTED STRUCT typedef struct { UINT32 _PESR ; UINT32 _XESR ; UINT32 _PEAR ; UINT32 _FEAR ; UINT32 _SEAR ; UINT32 _GEAR ; } EE_XscGasketRegs; //ICAT EXPORTED STRUCT typedef struct { unsigned short fileWriteOffset ; // DO NOT REMOVE OR CHANGE TYPE!!! ( for cyclic file ) EE_entry_t type ; RTC_CalendarTime dateAndTime ; char desc [ 100 ] ; /* Description string size =ERROR_HANDLER_MAX_DESC_SIZE*/ EE_RegInfo_Data_t RegInfo ; EE_ContextDataType_t contextBufferType ; UINT8 contextBuffer [ 512 ] ; UINT32 CHKPT0 ; UINT32 CHKPT1 ; char taskName [ 10 ] ; UINT32 taskStackStart ; UINT32 taskStackEnd ; // UP TO HERE 0x1e4 bytes ( out of 0x200 allocated by linker control file INT_RAM_EE segment ) EE_XscGasketRegs xscaleGasketRegs ; UINT32 warningCntr ; // reserved [ 1 ] ; } EE_Entry_t; typedef void voidPFuncVoid ( void ) ; typedef void ( * ExceptionHendler ) ( EE_RegInfo_Data_t* ) ; typedef EEHandlerAction ( * ExceptionHendlerExt ) ( EE_ExceptionType_t type , EE_RegInfo_Data_t* ) ; //ICAT EXPORTED FUNCTION - L1A , L1ADRAT , L1aTestCellSearchAlwaysFail void L1aTestCellSearchAlwaysFail ( void ) { l1aTestCellSearchAlwaysFail = 1 ; ; } //ICAT EXPORTED FUNCTION - L1A , L1ADRAT , L1aTestCancelCellSearchAlwaysFail void L1aTestCancelCellSearchAlwaysFail ( void ) { l1aTestCellSearchAlwaysFail = 0 ; ; } //ICAT EXPORTED FUNCTION - PSLTE , L1ADRAT , LteL1aEnableL1aDetailDiag void LteL1aEnableL1aDetailDiag ( void *pData ) { enableL1aDetailDiag = 1 ; ; return ; } //ICAT EXPORTED FUNCTION - PSLTE , L1ADRAT , LteL1aDisableL1aDetailDiag void LteL1aDisableL1aDetailDiag ( void *pData ) { enableL1aDetailDiag = 0 ; ; return ; } //ICAT EXPORTED FUNCTION - L1A , L1A_SPY , L1aStartSpyDebug void L1aStartSpyDebug ( void ) { l1aGlobalEntity.L1aDebugMode = L1A_START_SPY_RECORD ; } //ICAT EXPORTED FUNCTION - L1A , L1A_SPY , L1aStopSpyDebug void L1aStopSpyDebug ( void ) { l1aGlobalEntity.L1aDebugMode = L1A_SPY_IDLE ; } //ICAT EXPORTED FUNCTION - L1A , L1A_SPY , L1aDisplaySpyDebug void L1aDisplaySpyDebug ( void ) { int i ; for ( i = l1aEventsArrayIndex - 1 ; i >= 0 ; i-- ) { ; OsaTaskSleep ( 1 , 0 ) ; } if ( l1aCircularBuffer ) { for ( i = ( ( 150 ) + 1 ) - 1 ; i >= l1aEventsArrayIndex ; i-- ) // CQ00154160 mod { ; OsaTaskSleep ( 1 , 0 ) ; } } } //ICAT EXPORTED FUNCTION - L1A , L1A_SPY , L1aSaveSpyToNvm void L1aSaveSpyToNvm ( void ) { FILE_ID fdiID ; if ( ( fdiID = FDI_fopen ( " L1aSpy-out.bin " , " wb " ) ) !=0 ) // CQ00148949 modify { FDI_fwrite ( ( l1aSpyMsgHeader* ) l1aEventsArray , ( ( 150 ) + 1 ) , sizeof ( l1aSpyMsgHeader ) , fdiID ) ; // CQ00154160 mod FDI_fclose ( fdiID ) ; } } DIAG_FILTER ( L1A , l1a_irat , geiL1SetRatSetCause1 , DIAG_INFORMATION) diagPrintf ( " geiL1SetRatSetCause , l1aGlobalEntity.ratSetCause=%e { RatSetCause } " , l1aGlobalEntity.ratSetCause ); DIAG_FILTER ( L1A , l1a_irat , geiL1GetRatSetCause1 , DIAG_INFORMATION) diagPrintf ( " geiL1GetRatSetCause , l1aGlobalEntity.ratSetCause=%e { RatSetCause } " , l1aGlobalEntity.ratSetCause ); DIAG_FILTER ( L1A , l1a_drat , L1aSetCmdSetLteReq_1 , DIAG_INFORMATION) diagPrintf ( " L1aSetCmdSetLteReq:ratSetCause=%e { RatSetCause } , l1aCurrentState=%e { L1aState } " , ratSetCause , pL1aGlobalEntity->l1aCurrentState ); DIAG_FILTER ( L1A , l1a_drat , L1aHandleModeReport_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleModeReport_enter:dspMode=0x%x ( Td:0x40 , G , LteT , LteF , W:0x80 ) , SourceAppId=0x%x , l1aCurrentState:%e { L1aState } , afcDacValue=0x%x. " , dspMode , SourceAppId , pL1aGlobalEntity->l1aCurrentState , afcDacValue ); DIAG_FILTER ( L1A , l1a_drat , L1aWakeUpCallbackOrHisr_end , DIAG_INFORMATION) diagPrintf ( " L1aWakeUpCallbackOrHisr_end:isWakeupInt=%d " , isWakeupInt ); DIAG_FILTER ( L1A , l1a_drat , L1aEnterToD2_enter , DIAG_INFORMATION) diagPrintf ( " L1aEnterToD2_enter:sleepMode=%e { L1aSleepMode } l1aDspDuringSleep=%d " , sleepMode , l1aDspDuringSleep ); DIAG_FILTER ( L1A , l1a_drat , L1aEnterToD2_end , DIAG_INFORMATION) diagPrintf ( " L1aEnterToD2_end. " ); DIAG_FILTER ( L1A , l1a_drat , L1aExitFromD2_protect , DIAG_INFORMATION) diagPrintf ( " L1aExitFromD2_protect: avoid L1aExitFromD2 twice . " ); DIAG_FILTER ( L1A , l1a_drat , L1aExitFromD2_end , DIAG_INFORMATION) diagPrintf ( " L1aExitFromD2_end: isEarlyWakeup=%d , l1aCurrentState:%e { L1aState } . " , isEarlyWakeup , pL1aGlobalEntity->l1aCurrentState ); DIAG_FILTER ( L1A , l1a_drat , L1aSetSimGsmActivated_SIM2 , DIAG_INFORMATION) diagPrintf ( " L1aSetSimGsmActivated: simId=%d , prev Activated= %d , current Activated= %d " , simId , l1aSim2GsmActivated , activated ); DIAG_FILTER ( L1A , l1a_drat , L1aSetSimLteActivated_SIM1 , DIAG_INFORMATION) diagPrintf ( " L1aSetSimLteActivated: simId=%d , prev Activated= %d , current Activated= %d " , simId , l1aSim1LteActivated , activated ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ADRAT , LtePmaxReductionConfigFile_CreateNVMFile BOOL LtePmaxReductionConfigFile_CreateNVMFile ( void ) { char FileName [ ] = " RspDigRfLtepmaxReductionConfig.nvm " ; // Local Vars FILE_ID fp ; NVM_Header_ts NVMHeader ; RTC_CalendarTime calendarTime ; // Open NVM file for writing fp = FDI_fopen ( FileName , " wb " ) ; if ( !fp ) { ; return ( 0 ) ; } // Create header for NVM file - As this is CRD , RTCCurrentDateAndTimeGet ( &calendarTime ) ; NVMHeader.StructSize = sizeof ( RspDigRfLtePmaxReductionConfig_ts ) ; // NVM struct size NVMHeader.NumofStructs = 1 ; // Number of structs strcpy ( ( char * ) & ( NVMHeader.StructName ) , ( char * ) ( " RspDigRfLtePmaxReductionConfig_ts " ) ) ; // ( char * ) Struct Name sprintf ( ( char * ) & ( NVMHeader.Date ) , " %d / %d / %d " , calendarTime.day , calendarTime.month , calendarTime.year ) ; sprintf ( ( char * ) & ( NVMHeader.time ) , " %d:%d:%d " , calendarTime.hour , calendarTime.minute , calendarTime.second ) ; strcpy ( ( char * ) & ( NVMHeader.HW_ID ) , ( char * ) ( " 0 " ) ) ; // ( char * ) HW_ID strcpy ( ( char * ) & ( NVMHeader.Version ) , ( char * ) ( " 1.000000 " ) ) ; // ( char * ) NVM Version strcpy ( ( char * ) & ( NVMHeader.CalibVersion ) , ( char * ) ( " 0 " ) ) ; // ( char * ) Calib version FDI_fwrite ( & ( NVMHeader ) , sizeof ( NVM_Header_ts ) , 1 , fp ) ; // Write the data into the NVM file and close the file. FDI_fwrite ( & ( ltePmaxReductionConfig ) , sizeof ( RspDigRfLtePmaxReductionConfig_ts ) , 1 , fp ) ; FDI_fclose ( fp ) ; ; return ( 1 ) ; } //ICAT EXPORTED FUNCTION - LTEL1A , L1ADRAT , LteCalExtentionConfigFile_CreateNVMFile BOOL LteCalExtentionConfigFile_CreateNVMFile ( void ) { char FileName [ ] = " LteCalExtension.nvm " ; // Local Vars FILE_ID fp ; NVM_Header_ts NVMHeader ; RTC_CalendarTime calendarTime ; LteCalExtentionConfig lteCalExtentionConfig = { 0 } ; // not set it as globel var to decrease memory. // CQ00147393 modify by code review , set 0 to avoid dirty data when create nvm // Open NVM file for writing fp = FDI_fopen ( FileName , " wb " ) ; if ( !fp ) { ; return ( 0 ) ; } // Create header for NVM file - As this is CRD , RTCCurrentDateAndTimeGet ( &calendarTime ) ; NVMHeader.StructSize = sizeof ( LteCalExtentionConfig ) ; // NVM struct size NVMHeader.NumofStructs = 1 ; // Number of structs strcpy ( ( char * ) & ( NVMHeader.StructName ) , ( char * ) ( " LteCalExtentionConfig " ) ) ; // ( char * ) Struct Name sprintf ( ( char * ) & ( NVMHeader.Date ) , " %d / %d / %d " , calendarTime.day , calendarTime.month , calendarTime.year ) ; sprintf ( ( char * ) & ( NVMHeader.time ) , " %d:%d:%d " , calendarTime.hour , calendarTime.minute , calendarTime.second ) ; strcpy ( ( char * ) & ( NVMHeader.HW_ID ) , ( char * ) ( " 0 " ) ) ; // ( char * ) HW_ID strcpy ( ( char * ) & ( NVMHeader.Version ) , ( char * ) ( " 1.000000 " ) ) ; // ( char * ) NVM Version strcpy ( ( char * ) & ( NVMHeader.CalibVersion ) , ( char * ) ( " 0 " ) ) ; // ( char * ) Calib version FDI_fwrite ( & ( NVMHeader ) , sizeof ( NVM_Header_ts ) , 1 , fp ) ; // Write the data into the NVM file and close the file. FDI_fwrite ( & ( lteCalExtentionConfig ) , sizeof ( LteCalExtentionConfig ) , 1 , fp ) ; FDI_fclose ( fp ) ; ; return ( 1 ) ; } //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_main.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_main.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED ENUM typedef struct LteEcphyComCmdL1LogInfoTag { Int8 commonId ; // CMID_L1_LOG_INFO_IND = 197 Int8 reseved ; Int16 msglength ; // log data length Int32 *msgPtr ; // log data pointer } LteEcphyComCmdL1LogInfo; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; DIAG_FILTER ( L1A , l1a_main , L1aHandleTimerExpiryAliveInd_dspNotAlive , DIAG_INFORMATION) diagPrintf ( " DESC: COM_ERR=NO dspAliveInd for 12.800000 s , DSP is not alive!!! " ); DIAG_FILTER ( L1A , l1a_main , L1aHandleTimerExpiry1 , DIAG_INFORMATION) diagPrintf ( " L1aHandleTimerExpiry , kiTimerExpiry-> ( timerId=0x%x , userValue=%d ) " , kiTimerExpiry->timerId , kiTimerExpiry->userValue ); DIAG_FILTER ( L1A , L1a_main , L1aMainProcessSignal_warning , DIAG_INFORMATION) diagPrintf ( " L1aMainProcessSignal_warning:L1a main receives a non-expected signal. " ); //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_meas.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_meas.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_phy.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_phy.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum BearerIdentityTag { RB_0 = 0 , /**< SRB0 on CCCH ( UL:TM DL:UM ) */ RB_1 = 1 , /**< SRB1 on ( UL:UM DL:UM ) */ RB_2 = 2 , /**< SRB2 on ( UL:AM DL:AM ) */ /** SRB3 on ( UL:AM DL:AM ) for high priority NAS signalling */ RB_3 = 3 , /** SRB4 on ( UL:AM DL:AM ) for low priority NAS signalling , which is optional */ RB_4 = 4 , RB_5 = 5 , /**< Radio Bearer 5 , configured by the network. */ RB_6 = 6 , /**< Radio Bearer 6 , configured by the network. */ RB_7 = 7 , /**< Radio Bearer 7 , configured by the network. */ RB_8 = 8 , /**< Radio Bearer 8 , configured by the network. */ RB_9 = 9 , /**< Radio Bearer 9 , configured by the network. */ RB_10 = 10 , /**< Radio Bearer 10 , configured by the network. */ RB_11 = 11 , /**< Radio Bearer 11 , configured by the network. */ RB_12 = 12 , /**< Radio Bearer 12 , configured by the network. */ RB_13 = 13 , /**< Radio Bearer 13 , configured by the network. */ RB_14 = 14 , /**< Radio Bearer 14 , configured by the network. */ RB_15 = 15 , /**< Radio Bearer 15 , configured by the network. */ RB_16 = 16 , /**< Radio Bearer 16 , configured by the network. */ RB_17 = 17 , /**< Radio Bearer 17 , configured by the network. */ RB_18 = 18 , /**< Radio Bearer 18 , configured by the network. */ RB_19 = 19 , /**< Radio Bearer 19 , configured by the network. */ RB_20 = 20 , /**< Radio Bearer 20 , configured by the network. */ RB_21 = 21 , /**< Radio Bearer 21 , configured by the network. */ RB_22 = 22 , /**< Radio Bearer 22 , configured by the network. */ RB_23 = 23 , /**< Radio Bearer 23 , configured by the network. */ RB_24 = 24 , /**< Radio Bearer 24 , configured by the network. */ RB_25 = 25 , /**< Radio Bearer 25 , configured by the network. */ RB_26 = 26 , /**< Radio Bearer 26 , configured by the network. */ RB_27 = 27 , /**< Radio Bearer 27 , configured by the network. */ RB_28 = 28 , /**< Radio Bearer 28 , configured by the network. */ RB_29 = 29 , /**< Radio Bearer 29 , configured by the network. */ RB_30 = 30 , /**< Radio Bearer 30 , configured by the network. */ RB_31 = 31 , /**< Radio Bearer 31 , configured by the network. */ RB_32 = 32 , /**< Radio Bearer 32 , configured by the network. */ /** Internal Bearer for BCCH , which can ' t be referenced by the network. */ RB_BCCH = 33 , /** Internal Bearer for PCCH , which can ' t be referenced by the network. */ RB_PCCH = 34 , /** Internal Bearer for CTCH , which can ' t be referenced by the network. */ RB_CTCH = 35 , RB_NUM_BEARERS = 36 , /**< Number of Radio Bearers */ /** RB_INVALID is used by MAC to indicate a transport block whose CRC was * ok , but couldn ' t be parsed. */ RB_INVALID = 0xFF } BearerIdentity; typedef Int8 GsmControlBlockType ; typedef Int8 GsmPhysicalBlock [ 23 ] ; typedef Int8 GsmBsic ; typedef SignedInt16 GsmRssiLevel ; //ICAT EXPORTED STRUCT typedef struct ActivationTimeTag { /** A boolean flag to determine if it is an immediate activation time ( TRUE ) * or at a certain CFN ( FALSE ) . */ Boolean now ; /** If \c now = FALSE then the activation time is at a specified CFN. */ UActivationTime cfn ; } ActivationTime; typedef union SfnOrCfnTag { Int16 sfn ; Int8 cfn ; } SfnOrCfn ; typedef Int8 UDlPduListData [ ( ( ( ( 8064 ) + 8 - 1 ) >> 3 ) + ( ( 2 + ( ( ( 24 ) + 8 - 1 ) >> 3 ) ) * 32 ) ) ] ; typedef Int8 UUlPduListData [ ( ( ( ( 6400 ) + 8 - 1 ) >> 3 ) + ( 2 * 16 ) ) ] ; typedef Int16 UArfcn ; typedef Int16 UUARFCN ; typedef Int16 UPrimaryScramblingCode ; typedef L1GsmHandoverReq UHandoverFromUtranCommand ; typedef UmphFddFindCellCnf UmphFddFindNextCellCnf ; typedef EmptySignal UmphFddFindNextCellReq ; typedef EmptySignal UmphReselectToGsmFailReq ; typedef EmptySignal UmphReselectToGsmFailCnf ; typedef EmptySignal UmphReselectToUmtsFailReq ; typedef EmptySignal UmphReselectToUmtsFailCnf ; typedef EmptySignal UmphSwitchRatReq ; typedef EmptySignal UmphSwitchRatCnf ; typedef EmptySignal UmphHandoverToGsmFailReq ; typedef EmptySignal UmphHandoverToGsmFailCnf ; typedef EmptySignal UmphHandoverToUmtsFailReq ; typedef EmptySignal UmphHandoverToUmtsFailCnf ; typedef EmptySignal UmphSwitchToGsmReq ; typedef EmptySignal UmphSwitchToGsmCnf ; typedef EmptySignal UmphSwitchToUmtsReq ; typedef EmptySignal UmphSwitchToUmtsCnf ; typedef UUL_AddReconfTransChInfoList_r8 UUL_AddReconfTransChInfoList_latest ; typedef UTransportChannelReconfiguration_r9 UTransportChannelReconfiguration_latest ; typedef UTransportChannelReconfiguration_r9_IEs UTransportChannelReconfiguration_latest_IEs ; typedef UUL_LogicalChannelMapping_r8_rlc_SizeList UUL_LogicalChannelMapping_latest_rlc_SizeList ; typedef UUL_LogicalChannelMapping_r8 UUL_LogicalChannelMapping_latest ; typedef URAB_Info_r7 URAB_Info_latest ; typedef URB_MappingInfo_r8 URB_MappingInfo_latest ; typedef URB_MappingOption_r8 URB_MappingOption_latest ; typedef UDefaultConfigIdentity_r6 UDefaultConfigIdentity_latest ; typedef URadioBearerReconfiguration_r9 URadioBearerReconfiguration_latest ; typedef URadioBearerReconfiguration_r9_IEs URadioBearerReconfiguration_latest_IEs ; typedef URadioBearerReconfiguration_r9_IEs_complete URadioBearerReconfiguration_latest_IEs_complete ; typedef URadioBearerSetup_r9 URadioBearerSetup_latest ; typedef URadioBearerSetup_r9_IEs URadioBearerSetup_latest_IEs ; typedef URadioBearerSetup_r7_IEs_complete URadioBearerSetup_latest_IEs_complete ; typedef URadioBearerReconfiguration_r9_IEs_preConfigMode URadioBearerReconfiguration_latest_IEs_preConfigMode ; typedef URadioBearerRelease_r9 URadioBearerRelease_latest ; typedef URadioBearerRelease_r9_IEs URadioBearerRelease_latest_IEs ; typedef UUL_LogicalChannelMappings_r8 UUL_LogicalChannelMappings_latest ; typedef UCellUpdateConfirm_r9 UCellUpdateConfirm_latest ; typedef UCellUpdateConfirm_r9_IEs UCellUpdateConfirm_latest_IEs ; typedef UCellUpdateConfirm_CCCH_r9 UCellUpdateConfirm_CCCH_latest ; typedef UPhysicalChannelReconfiguration_r9 UPhysicalChannelReconfiguration_latest ; typedef UPhysicalChannelReconfiguration_r9_IEs UPhysicalChannelReconfiguration_latest_IEs ; typedef URRCConnectionSetup_r9_IEs URRCConnectionSetup_latest_IEs ; typedef URRCConnectionSetup_r9_IEs_complete URRCConnectionSetup_latest_IEs_complete ; typedef URRCConnectionSetup_r9_IEs_preConfigMode URRCConnectionSetup_latest_IEs_preConfigMode ; typedef UActiveSetUpdate_r9_IEs UActiveSetUpdate_latest_IEs ; typedef UActiveSetUpdate_r9 UActiveSetUpdate_latest ; typedef UDL_HSPDSCH_Information_r9 UDL_HSPDSCH_Information_latest ; typedef UHS_SCCH_Info_r9_fdd UHS_SCCH_Info_latest_fdd ; typedef UHandoverToUTRANCommand_r9 UHandoverToUTRANCommand_latest ; typedef UHandoverToUTRANCommand_r9_IEs UHandoverToUTRANCommand_latest_IEs ; typedef UHandoverFromUTRANCommand_GSM_r6_IEs UHandoverFromUTRANCommand_GSM_latest_IEs ; typedef UHandoverToUTRANCommand_r9_IEs_fdd UHandoverToUTRANCommand_latest_IEs_fdd ; typedef T_UDL_DPCH_InfoCommon_r6_cfnHandling T_UDL_DPCH_InfoCommon_latest_cfnHandling ; typedef UUL_DPCH_PowerControlInfo_r7_fdd UUL_DPCH_PowerControlInfo_latest_fdd ; typedef USecondaryCCPCH_Info_r4_modeInfo USecondaryCCPCH_Info_latest_modeInfo ; typedef USecondaryCCPCH_Info_r4_fdd USecondaryCCPCH_Info_latest_fdd ; typedef UCipheringModeInfo_r7 UCipheringModeInfo_latest ; typedef UDL_LogicalChannelMapping_r7 UDL_LogicalChannelMapping_latest ; typedef UUTRAN_DRX_CycleLengthCoefficient_r7 UUTRAN_DRX_CycleLengthCoefficient_latest ; typedef UURAUpdateConfirm_r7_IEs UURAUpdateConfirm_DCCH_latest_IEs ; typedef UURAUpdateConfirm_r5_IEs UURAUpdateConfirm_CCCH_latest_IEs ; typedef UUTRANMobilityInformation_r7 UUTRANMobilityInformation_latest ; typedef UUTRANMobilityInformation_r7_IEs UUTRANMobilityInformation_latest_IEs ; typedef UDL_InformationPerRL_List_r8Element UDL_InformationPerRL_List_latestElement ; typedef UDL_InformationPerRL_r8_dl_dpchInfo UDL_InformationPerRL_latest_dl_dpchInfo ; typedef UHARQ_Info_r7 UHARQ_Info_latest ; typedef UUL_EDCH_Information_r9 UUL_EDCH_Information_latest ; typedef UUL_EDCH_Information_r9_fdd UUL_EDCH_Information_latest_fdd ; typedef UE_DPDCH_Reference_E_TFCIList_r7Element UE_DPDCH_Reference_E_TFCIList_latestElement ; typedef UE_DCH_ReconfigurationInfo_r7 UE_DCH_ReconfigurationInfo_latest ; typedef UE_DCH_RL_InfoNewServingCell_r7 UE_DCH_RL_InfoNewServingCell_latest ; typedef UE_DCH_ReconfigurationInfo_r7_e_DCH_RL_InfoOtherCellList UE_DCH_ReconfigurationInfo_latest_e_DCH_RL_InfoOtherCellList ; typedef UUL_AddReconfTransChInformation_r8_e_dch UUL_AddReconfTransChInformation_latest_e_dch ; typedef UE_DCH_AddReconf_MAC_d_FlowList_r7Element UE_DCH_AddReconf_MAC_d_FlowList_latestElement ; typedef UServing_HSDSCH_CellInformation_r9 UServing_HSDSCH_CellInformation_latest ; typedef UE_DCH_AddReconf_MAC_d_FlowList_r7 UE_DCH_AddReconf_MAC_d_FlowList_latest ; typedef UE_DCH_AddReconf_MAC_d_Flow_r7 UE_DCH_AddReconf_MAC_d_Flow_latest ; typedef UDownlinkDirectTransfer_r3 UDownlinkDirectTransfer_latest ; typedef UDownlinkDirectTransfer_r3_IEs UDownlinkDirectTransfer_latest_IEs ; typedef UUECapabilityEnquiry_r3 UUECapabilityEnquiry_latest ; typedef UPagingRecord2_r5_utran_GroupIdentityElement UPagingRecord2_latest_utran_GroupIdentityElement ; typedef UPagingRecord2List_r5Element UPagingRecord2List_latestElement ; typedef UCapabilityUpdateRequirement_r8 UCapabilityUpdateRequirement_latest ; typedef UPagingRecord2_r5_cn_OriginatedPage_connectedMode_UE UPagingRecord2_latest_cn_OriginatedPage_connectedMode_UE ; typedef T_UDL_RLC_Mode_r7 T_UDL_RLC_Mode_latest ; typedef UIntegrityProtectionModeInfo_r7 UIntegrityProtectionModeInfo_latest ; typedef URRCConnectionReject_r3_IEs URRCConnectionReject_latest_IEs ; typedef URRCConnectionReject_r3 URRCConnectionReject_latest ; typedef UUECapabilityInformation_r3_add_ext_IEs UUECapabilityInformation_latest_add_ext_IEs ; typedef URRCConnectionSetupComplete_r3_add_ext_IEs URRCConnectionSetupComplete_latest_add_ext_IEs ; typedef USignallingConnectionRelease_r3_IEs USignallingConnectionRelease_latest_IEs ; typedef URRCConnectionRelease_r4_IEs URRCConnectionRelease_latest_IEs ; typedef UURAUpdateConfirm_CCCH_r3 UURAUpdateConfirm_CCCH_latest ; typedef UCN_InformationInfo_r6 UCN_InformationInfo_latest ; typedef UCellChangeOrderFromUTRANFailure_r3 UCellChangeOrderFromUTRANFailure_latest ; typedef UCellChangeOrderFromUTRAN_r3_IEs UCellChangeOrderFromUTRAN_latest_IEs ; typedef UMeasurementControl_r9_IEs UMeasurementControl_latest_IEs ; typedef UUE_ConnTimersAndConstants_r5 UUE_ConnTimersAndConstants_latest ; typedef UPDCP_Info_r4 UPDCP_Info_latest ; typedef UUL_CommonTransChInfo_r4 UUL_CommonTransChInfo_latest ; typedef UDL_CommonTransChInfo_r4 UDL_CommonTransChInfo_latest ; typedef UDL_CounterSynchronisationInfo_r5 UDL_CounterSynchronisationInfo_latest ; typedef UUL_DeletedTransChInfoList_r6Element UUL_DeletedTransChInfoList_latestElement ; typedef UDL_DPCH_InfoCommon_r6 UDL_DPCH_InfoCommon_latest ; typedef UDL_FDPCH_InfoCommon_r6 UDL_FDPCH_InfoCommon_latest ; typedef UHandoverFromUTRANCommand_GSM_r6_IEs_gsm_message UHandoverFromUTRANCommand_GSM_latest_IEs_gsm_message ; typedef UUL_DeletedTransChInfoList_r6 UUL_DeletedTransChInfoList_latest ; typedef UHandoverToUTRANCommand_r9_IEs_preConfigMode UHandoverToUTRANCommand_latest_IEs_preConfigMode ; typedef URLC_Info_r7 URLC_Info_latest ; typedef URLC_InfoChoice_r7 URLC_InfoChoice_latest ; typedef UDL_LogicalChannelMappingList_r7 UDL_LogicalChannelMappingList_latest ; typedef UDL_DPCH_InfoPerRL_r7_fdd UDL_DPCH_InfoPerRL_latest_fdd ; typedef UDL_RLC_Mode_r7 UDL_RLC_Mode_latest ; typedef UUL_AddReconfTransChInfoList_r8Element UUL_AddReconfTransChInfoList_latestElement ; typedef UDL_InformationPerRL_r8 UDL_InformationPerRL_latest ; typedef UDL_AddReconfTransChInfoList_r9Element UDL_AddReconfTransChInfoList_latestElement ; typedef UDL_DeletedTransChInfoList_r7Element UDL_DeletedTransChInfoList_latestElement ; typedef UDL_InformationPerRL_r8_fdd UDL_InformationPerRL_latest_fdd ; typedef UUL_DPCH_Info_r7 UUL_DPCH_Info_latest ; typedef UHandoverToUTRANCommand_r9_IEs_preconfiguration UHandoverToUTRANCommand_latest_IEs_preconfiguration ; typedef UHandoverToUTRANCommand_r9_IEs_complete UHandoverToUTRANCommand_latest_IEs_complete ; typedef USRB_InformationSetupList2_r8 USRB_InformationSetupList2_latest ; typedef USRB_InformationSetup_r8 USRB_InformationSetup_latest ; typedef USRB_InformationSetupList_r8 USRB_InformationSetupList_latest ; typedef USRB_InformationSetupList_r8Element USRB_InformationSetupList_latestElement ; typedef URAB_InformationSetupList_r8 URAB_InformationSetupList_latest ; typedef URAB_InformationSetupList_r8Element URAB_InformationSetupList_latestElement ; typedef URB_InformationSetupList_r8 URB_InformationSetupList_latest ; typedef URB_InformationSetup_r8 URB_InformationSetup_latest ; typedef URB_InformationSetupList_r8Element URB_InformationSetupList_latestElement ; typedef URB_InformationAffectedList_r8 URB_InformationAffectedList_latest ; typedef URB_InformationAffectedList_r8Element URB_InformationAffectedList_latestElement ; typedef URB_InformationReconfigList_r8 URB_InformationReconfigList_latest ; typedef URB_InformationReconfigList_r8Element URB_InformationReconfigList_latestElement ; typedef UDL_AddReconfTransChInfoList_r9 UDL_AddReconfTransChInfoList_latest ; typedef UDL_DeletedTransChInfoList_r7 UDL_DeletedTransChInfoList_latest ; typedef UDL_InformationPerRL_List_r8 UDL_InformationPerRL_List_latest ; typedef T_UDL_InformationPerRL_r8_dl_dpchInfo T_UDL_InformationPerRL_latest_dl_dpchInfo ; typedef URL_AdditionInformationList_r9 URL_AdditionInformationList_latest ; typedef URL_AdditionInformationList_r9Element URL_AdditionInformationList_latestElement ; typedef UDL_CommonInformation_r8 UDL_CommonInformation_latest ; typedef UDL_CommonInformation_r8_dl_dpchInfoCommon UDL_CommonInformation_latest_dl_dpchInfoCommon ; typedef URRCConnectionSetup_r9 URRCConnectionSetup_latest ; typedef UCipheringModeCommand_r7 UCipheringModeCommand_latest ; typedef UCBS_DRX_Level1Information_extension_r6 UCBS_DRX_Level1Information_extension_latest ; typedef UUL_DPCH_Info_r7_fdd UUL_DPCH_Info_latest_fdd ; typedef UCounterCheck_r3_IEs UCounterCheck_latest_IEs ; typedef USecurityModeCommand_r7_IEs USecurityModeCommand_latest_IEs ; typedef UIntraFreqReportingCriteria_r9 UIntraFreqReportingCriteria_latest ; typedef UIntraFreqReportCriteria_r9 UIntraFreqReportCriteria_latest ; typedef T_UIntraFreqReportCriteria_r9 T_UIntraFreqReportCriteria_latest ; typedef UIntraFreqEvent_r7 UIntraFreqEvent_latest ; typedef UIntraFreqEventCriteriaList_r7Element UIntraFreqEventCriteriaList_latestElement ; typedef T_UIntraFreqEvent_r7 T_UIntraFreqEvent_latest ; typedef UIntraFreqEventCriteria_r7 UIntraFreqEventCriteria_latest ; typedef UIntraFrequencyMeasurement_r9 UIntraFrequencyMeasurement_latest ; typedef UMeasurementType_r9 UMeasurementType_latest ; typedef UIntraFreqEventCriteriaList_r7 UIntraFreqEventCriteriaList_latest ; typedef UInterFreqReportCriteria_r9 UInterFreqReportCriteria_latest ; typedef UInterFrequencyMeasurement_r9 UInterFrequencyMeasurement_latest ; typedef T_UInterFreqReportCriteria_r9 T_UInterFreqReportCriteria_latest ; typedef UInterFreqReportingCriteria_r6 UInterFreqReportingCriteria_latest ; typedef UUE_Positioning_Measurement_r9 UUE_Positioning_Measurement_latest ; typedef T_UUE_Positioning_ReportCriteria_r7 T_UUE_Positioning_ReportCriteria_latest ; typedef UMeasurementCommand_r9_modify UMeasurementCommand_latest_modify ; typedef T_UMeasurementType_r9 T_UMeasurementType_latest ; typedef UInterFreqEvent_r6 UInterFreqEvent_latest ; typedef UThreshold_r6 UThreshold_latest ; typedef UUE_InternalMeasurement_r4 UUE_InternalMeasurement_latest ; typedef UInterFreqCellInfoList_r9 UInterFreqCellInfoList_latest ; typedef UInterRATMeasurement_r9 UInterRATMeasurement_latest ; typedef UInterFreqEventList_r6Element UInterFreqEventList_latestElement ; typedef UThresholdUsedFrequency_r6 UThresholdUsedFrequency_latest ; typedef UNonUsedFreqWList_r6 UNonUsedFreqWList_latest ; typedef UPrimaryCCPCH_Info_r4_fdd UPrimaryCCPCH_Info_latest_fdd ; typedef T_UPrimaryCCPCH_Info_r4 T_UPrimaryCCPCH_Info_latest ; typedef T_UForbiddenAffectCell_r4 T_UForbiddenAffectCell_latest ; typedef T_UInterFreqEvent_r6 T_UInterFreqEvent_latest ; typedef UNewIntraFreqCellList_r9Element UNewIntraFreqCellList_latestElement ; typedef UNewInterFreqCellList_r9Element UNewInterFreqCellList_latestElement ; typedef UIntraFreqCellInfoList_r9 UIntraFreqCellInfoList_latest ; typedef UForbiddenAffectCellList_r4 UForbiddenAffectCellList_latest ; typedef UForbiddenAffectCellList_r4Element UForbiddenAffectCellList_latestElement ; typedef UCellInfo_r9_fdd UCellInfo_latest_fdd ; typedef UEvent1a_r4 UEvent1a_latest ; typedef UEvent1b_r7 UEvent1b_latest ; typedef UEvent1e_r6 UEvent1e_latest ; typedef UEvent1f_r6 UEvent1f_latest ; typedef UEvent1j_r6 UEvent1j_latest ; typedef UEvent2a_r6 UEvent2a_latest ; typedef UEvent2b_r6 UEvent2b_latest ; typedef UEvent2c_r6 UEvent2c_latest ; typedef UEvent2d_r6 UEvent2d_latest ; typedef UEvent2e_r6 UEvent2e_latest ; typedef UEvent2f_r6 UEvent2f_latest ; typedef UNonUsedFreqParameter_r6 UNonUsedFreqParameter_latest ; typedef UNonUsedFreqParameterList_r6 UNonUsedFreqParameterList_latest ; typedef UNonUsedFreqParameterList_r6Element UNonUsedFreqParameterList_latestElement ; typedef UAssistanceDataDelivery_r3_IEs UAssistanceDataDelivery_latest_IEs ; typedef T_URedirectionInfo_r6 T_URedirectionInfo_latest ; typedef UInterRATCellInfoList_r6 UInterRATCellInfoList_latest ; typedef UIntegrityProtectionAlgorithm_r7 UIntegrityProtectionAlgorithm_latest ; typedef UCipheringAlgorithm_r7 UCipheringAlgorithm_latest ; typedef UDTX_DRX_Info_r7 UDTX_DRX_Info_latest ; typedef UDTX_DRX_TimingInfo_r7 UDTX_DRX_TimingInfo_latest ; typedef UHS_SCCH_LessInfo_r7 UHS_SCCH_LessInfo_latest ; typedef UMeasurement_Feedback_Info_r7_fdd UMeasurement_Feedback_Info_latest_fdd ; typedef URAB_InformationReconfigList_r8 URAB_InformationReconfigList_latest ; typedef UInterRATMeasQuantity_r8 UInterRATMeasQuantity_latest ; typedef UInterRATMeasQuantity_r8_gsm UInterRATMeasQuantity_gsm_latest ; typedef URAB_InformationReconfigList_r8Element URAB_InformationReconfigList_latestElement ; typedef UAddOrReconfMAC_ehs_ReordQ_r9 UAddOrReconfMAC_ehs_ReordQ_latest ; typedef UDPCH_CompressedModeInfo_r8 UDPCH_CompressedModeInfo_latest ; typedef UTGPS_ConfigurationParams_r8 UTGPS_ConfigurationParams_latest ; typedef UUL_AddReconfTransChInformation_r8_harq_Info UUL_AddReconfTransChInformation_harq_Info_latest ; typedef Int32 CellIdMask ; //ICAT EXPORTED STRUCT typedef struct UGsmCellTag { /** Specifies the value of this particular GSM cell ' s ARFCN. */ UBCCH_ARFCN bcch_arfcn ; /** Specifies the Base transceiver Station Identity Code , which is divided * into the Network Colour Code ( NCC ) and the Base Station Colour Code * ( BCC ) . */ UBSIC bsic ; UFrequency_Band gsmBandIndicator ; /* CQ00090992 added */ } UGsmCell; typedef union ExplicitTfcsUnionTag { TfcsAdd complete ; TfcsAdd addition ; TfcsRemovalList removal ; } ExplicitTfcsUnion ; typedef union UlTfcsGainFactorUnionTag { UlTfcsGainFactor complete ; UlTfcsGainFactor addition ; } UlTfcsGainFactorUnion ; typedef Int16 RssiScanRank ; typedef SignedInt32 RssiScanGrade ; typedef Int32 UtraCarrierPatternNorm ; //ICAT EXPORTED STRUCT typedef struct UtraRssiReportRankingTag { Int16 numOfFreqs ; RssiScanRank utra_CarrierRSSI_Ranking [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; RssiScanGrade utra_CarrierRSSI_Grading [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } UtraRssiReportRanking; typedef CphyDrxFindCellReq CphyFgFindCellReq ; typedef interFreqCellMeasInd_ts CphyFgFindCellCnf ; typedef EmptySignal CphyNextCellReq ; typedef EmptySignal PlwCphyNoActionInd ; typedef EmptySignal PlwCphyT319ExpiryInd ; typedef EmptySignal CphyDrxNextCellReq ; typedef CphyNextCellCnf CphyDrxNextCellCnf ; typedef CphyCellSelectCnf CphyCellSelectInd ; typedef interFreqCellMeasInd_ts CphyDetectedCellMeasInd ; typedef CphyRssiScanReq CphyDrxRssiScanReq ; //ICAT EXPORTED STRUCT typedef struct CphyRssiScanCnfTag { /** Number of frequencies found during the scan. */ Int16 numOfFreqs ; /** An array of frequencies and their RSSI results in the order that * the frequencies are found. */ UtraRssiReport utra_RssiReport [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } CphyRssiScanCnf; typedef CphyRssiScanCnf CphyDrxRssiScanCnf ; //ICAT EXPORTED STRUCT typedef struct CphyNcellBchCnfTag { /** A value TRUE indicates that the neighbour cell is detected and the * fields \c cpich_Ec_No and \c cpich_RSCP are applicable. */ Boolean cellDetected ; /** Downlink frequency on which the neighbour cell was decoded. */ UUARFCN uarfcn_dl ; /** Primary scrambling code of the neighbour cell. */ UPrimaryScramblingCode primaryScramblingCode ; /** Ec / No measurement ( in 1 / 8 dB steps ) for the CPICH of the neighbour * cell. */ SignedInt16 cpich_Ec_N0 ; /** RSCP measurement ( in 1 / 8 dBm steps ) for the CPICH of the neighbour * cell. */ SignedInt16 cpich_RSCP ; /** Error code to be returned by physical layer. */ UPhysicalLayerErrorCode errorCode ; } CphyNcellBchCnf; typedef EmptySignal CphyDlTrchCrcCnf ; typedef EmptySignal CphyDeactivateCnf ; typedef EmptySignal CphySuspendInd ; typedef EmptySignal CphySwitchRatCnf ; typedef EmptySignal CphyServingCellMeasurementReq ; typedef EmptySignal CphyStopServingCellMeasReq ; //ICAT EXPORTED STRUCT typedef struct CphyCellLockReqTag { Boolean enableCellLock ; /**< Enable / Disable cell lock */ Int8 band ; /**< For future Use */ Int8 cellLockRat ; /**< indicates network mode to lock on: GSM ( 0 ) ; UMTS-TD ( 1 ) , UTMS-W ( 2 ) ; LTE ( 3 ) */ /*CQ00083762 change*/ Int8 mode ; /**< Mapped to the mode of at*cell*/ /*only TDS use now , add by CQ00074723*/ Int32 arfcn ; /**< arfcn / Uarfcn */ // CQ00107230 change Int16 to Int32 Int16 scrCode ; /**< PSC */ } CphyCellLockReq; typedef EmptySignal CphySyncInd ; typedef EmptySignal CphyHandoverToLteRevertReq ; typedef EmptySignal CphyHandoverToUmtsFailReq ; typedef EmptySignal CphyHandoverToUmtsFailCnf ; //ICAT EXPORTED STRUCT typedef struct ULteCellTag { Earfcn earfcn ; // CQ00107230 change UEARFCN to Earfcn UEUTRA_MeasurementBandwidth measurementBandwidth ; } ULteFrequencyInfo; //ICAT EXPORTED STRUCT typedef struct EBandsTag { /* start of frequency in this band */ Earfcn minFreqInBand ; // CQ00107230 change UEARFCN to Earfcn /* end of frequency in this band */ Earfcn maxFreqInBand ; // CQ00107230 change UEARFCN to Earfcn } EBand; typedef EmptySignal CphyDrxFindNextLteCellReq ; typedef EmptySignal CphyDrxFindNextLteCellCnf ; typedef EmptySignal CphyDrxFindLteCellAbortReq ; typedef EmptySignal CphyDrxFindLteCellAbortCnf ; typedef EmptySignal CphyLteReselectToUmtsFailReq ; typedef EmptySignal CphyLteReselectToUmtsFailCnf ; typedef endOfDrxMeasurementInd_ts CphyEndOfDrxMeasInd ; typedef CphyNcellBchReq CphyFgBchReq ; typedef CphyNcellBchCnf CphyFgBchCnf ; typedef EmptySignal CphySetWbReq ; typedef EmptySignal CphySetWbCnf ; typedef EmptySignal CphyIcsInitCnf ; typedef ueRxTxTimeDiffType2Ind_ts CphyUeRxTxTimeDiffType2MeasurementInd ; //ICAT EXPORTED ENUM typedef enum AssignorAssigneeTag { DEFAULT_ASSIGNEE = 0 , ASSIGNOR_ONLY = 1 } AssignorAssignee; //ICAT EXPORTED ENUM typedef enum AsymmetryIndicationTag { SYMMETRY_PREFERRED = 0 , DOWNLINK_BIASED_PREFERRED = 1 , UPLINK_BIASED_PREFERRED = 2 } AsymmetryIndication; //ICAT EXPORTED ENUM typedef enum BcdNumberTypeTag { NUM_TYPE_UNKNOWN = 0 , NUM_TYPE_INTERNATIONAL = 1 , NUM_TYPE_NATIONAL = 2 , NUM_TYPE_NETWORK_SPEC = 3 , NUM_TYPE_DEDIC_PAD = 4 } BcdNumberType; //ICAT EXPORTED ENUM typedef enum BcdNumberPlanTag { BCD_PLAN_UNKNOWN = 0 , BCD_PLAN_E163_E164 = 1 , BCD_PLAN_X121_DATA = 3 , BCD_PLAN_F96_TELEX = 4 , BCD_PLAN_NATIONAL = 8 , BCD_PLAN_PRIVATE = 9 } BcdNumberPlan; //ICAT EXPORTED ENUM typedef enum ChannelRequirementTag { RESERVED_CHAN_REQUIREMENT = 0 , CHAN_FULL_RATE = 1 , CHAN_DUAL_HALF_PREF = 2 , CHAN_DUAL_FULL_PREF = 3 , CHAN_NOT_REQUIRED = 4 } ChannelRequirement; //ICAT EXPORTED ENUM typedef enum TransferCapabilityTag { BEARER_CAPAB_SPEECH = 0 , BEARER_CAPAB_DIG_UNRESTRICTED = 1 , BEARER_CAPAB_3100HZ_AUDIO = 2 , BEARER_CAPAB_FAX_GROUP_3 = 3 , BEARER_CAPAB_OTHER_ITC = 5 , BEARER_CAPAB_AUX_SPEECH = 6 } TransferCapability; //ICAT EXPORTED ENUM typedef enum DataStructureTag { KEEP_SDU_STRUCTURE = 0 , UNSTRUCTURED = 3 } DataStructure; //ICAT EXPORTED ENUM typedef enum RateAdaptionTag { NO_RATE_ADAPTION = 0 , V110_X30_RATE_ADAPTION = 1 , CCITT_X31_FLAG_STUFFING = 2 , OTHER_RATE_ADAPTION = 3 , NUM_RATE_ADAPTIONS } RateAdaption; //ICAT EXPORTED ENUM typedef enum SigAccessProtocolTag { I_440_450 = 1 , X32 = 6 } SigAccessProtocol; //ICAT EXPORTED ENUM typedef enum NoOfStopBitsTag { STOP_BITS_1 = 0 , STOP_BITS_2 = 1 } NoOfStopBits; //ICAT EXPORTED ENUM typedef enum NoOfDataBitsTag { DATA_BITS_7 = 0 , DATA_BITS_8 = 1 } NoOfDataBits; //ICAT EXPORTED ENUM typedef enum UserRateTag { /* For some 3 g calls the user rate is irrelevant , and some networks just set the field to 0 . The value 0 should not be used for MO calls , however , since some ( other? ) networks reject such a value , even if it is irrelevant. */ USER_RATE_RESERVED_0 = 0 , USER_RATE_300 = 1 , USER_RATE_1200 = 2 , USER_RATE_2400 = 3 , USER_RATE_4800 = 4 , USER_RATE_9600 = 5 , USER_RATE_12000 = 6 } UserRate; //ICAT EXPORTED ENUM typedef enum InBandOutOfBandTag { IN_BAND_LOGICAL_LINK_ZERO_NEGOTIATION = 0 , USER_INFORMATION_NEGOTIATION = 1 } InBandOutOfBand; //ICAT EXPORTED ENUM typedef enum IntermediateRateTag { INTERMED_RATE_NOT_USED = 0 , INTERMED_RATE_8000 = 2 , INTERMED_RATE_16000 = 3 } IntermediateRate; //ICAT EXPORTED ENUM typedef enum ParityInformationTag { GSM_PARITY_ODD = 0 , GSM_PARITY_EVEN = 2 , GSM_PARITY_NONE = 3 , GSM_PARITY_FORCED_TO_0 = 4 , GSM_PARITY_FORCED_TO_1 = 5 } ParityInformation; //ICAT EXPORTED ENUM typedef enum ConnectionTag { CON_EL_TRANSPARENT = 0 , CON_EL_NON_TRANSPARENT = 1 , CON_EL_TRANSP_PREF = 2 , CON_EL_NON_TRANSP_PREF = 3 } ConnectionElement; //ICAT EXPORTED ENUM typedef enum ModemTypeTag { MODEM_TYPE_NONE = 0 , MODEM_TYPE_V21 = 1 , MODEM_TYPE_V22 = 2 , MODEM_TYPE_V22BIS = 3 , MODEM_TYPE_V26TER = 5 , MODEM_TYPE_V32 = 6 , MODEM_TYPE_UNDEFINED_IF = 7 , MODEM_TYPE_AUTOBAUD_1 = 8 } ModemType; //ICAT EXPORTED ENUM typedef enum Layer2ProtocolTag { L2_PROTOCOL_X25 = 6 , L2_PROTOCOL_ISO6429 = 8 , L2_PROTOCOL_X75 = 9 , L2_PROTOCOL_VIDEOTEX_1 = 10 , L2_PROTOCOL_COP_NO_FLCT = 12 , L2_PROTOCOL_X75_CAPI = 13 } Layer2Protocol; //ICAT EXPORTED ENUM typedef enum LliTag { DEFAULT_256_LLI = 0 , FULL_PROTOCOL_NEGOTIATION_LLI = 1 } Lli; //ICAT EXPORTED ENUM typedef enum ModeOfOperationTag { BIT_TRANSPARENT_MODE_OF_OPERATION = 0 , PROTOCOL_SENSITIVE_MODE_OF_OPERATION = 1 } ModeOfOperation; //ICAT EXPORTED ENUM typedef enum OtherItcTag { OTHER_ITC_RESTRICTED_DIGITAL_INFORMATION = 0 /* all other values are reserved */ } OtherItc; //ICAT EXPORTED ENUM typedef enum OtherRateAdaption { V120_RATE_ADAPTION = 0 , H223_H245_RATE_ADAPTION = 1 , PIAFS_RATE_ADAPTION = 2 /* all other values are reserved */ } OtherRateAdaption; typedef Int8 Bcd ; //ICAT EXPORTED ENUM typedef enum SpeechVersionTag { FULL_RATE_SPEECH_VERSION_1 = 0 , FULL_RATE_SPEECH_VERSION_2 = 2 , FULL_RATE_SPEECH_VERSION_3 = 4 , FULL_RATE_SPEECH_VERSION_5 = 8 , HALF_RATE_SPEECH_VERSION_1 = 1 , HALF_RATE_SPEECH_VERSION_2 = 3 , HALF_RATE_SPEECH_VERSION_3 = 5 , SPEECH_VERSION_TBD = 255 } SpeechVersion; //ICAT EXPORTED STRUCT typedef struct SpeechVersionIndTag { Int8 numVersions ; SpeechVersion version [ 7 ] ; } SpeechVersionInd; //ICAT EXPORTED ENUM typedef enum OtherModemTypeTag { OTHER_MODEM_TYPE_NONE = 0 , OTHER_MODEM_TYPE_V34 = 2 } OtherModemType; //ICAT EXPORTED ENUM typedef enum FixedNetworkUserRateTag { INVALID_FNUR = 0 , FNUR_9600 = 1 , FNUR_14400 = 2 , FNUR_19200 = 3 , FNUR_28800 = 4 , FNUR_38400 = 5 , FNUR_48000 = 6 , /* gsm only */ FNUR_56000 = 7 , FNUR_64000 = 8 , FNUR_33600 = 9 , /* umts only */ FNUR_32000 = 10 , FNUR_31200 = 11 , /* umts only */ NUM_FNURS } FixedNetworkUserRate; //ICAT EXPORTED ENUM typedef enum AcceptableChannelCodingsTag { ACC_NONE = 0 , ACC_4_8_ONLY = 1 , ACC_9_6_ONLY = 2 , ACC_4_8_AND_9_6_ONLY = 3 , ACC_14_4_ONLY = 8 , ACC_14_4_AND_4_8_ONLY = 9 , ACC_14_4_AND_9_6_ONLY = 10 , ACC_ALL = 11 /* but see AcceptableChannelCodingsExtended */ } AcceptableChannelCodings; //ICAT EXPORTED ENUM typedef enum AcceptableChannelCodingsExtendedTag { ACCE_NONE = 0 , ACCE_43_2_ONLY = 1 , ACCE_32_0_ONLY = 2 , ACCE_43_2_AND_32_0_ONLY = 3 , ACCE_28_8_ONLY = 4 , ACCE_43_2_AND_28_8_ONLY = 5 , ACCE_32_0_AND_28_8_ONLY = 6 , ACCE_ALL = 7 /* but see AcceptableChannelCodings */ } AcceptableChannelCodingsExtended; //ICAT EXPORTED ENUM typedef enum MaxNumberOfTrafficChannelsTag { TCH_1 = 0 , TCH_2 = 1 , TCH_3 = 2 , TCH_4 = 3 , TCH_5 = 4 , TCH_6 = 5 , TCH_7 = 6 , TCH_8 = 7 } MaxNumberOfTrafficChannels; //ICAT EXPORTED ENUM typedef enum UserInitiatedModificationTag { UIMI_NOT_ALLOWED = 0 , UIMI_TCH_1 = 1 , UIMI_TCH_2 = 2 , UIMI_TCH_3 = 3 , UIMI_TCH_4 = 4 } UserInitiatedModification; //ICAT EXPORTED ENUM typedef enum WantedAirInterfaceUserRateTag { INVALID_AIUR = 0 , AIUR_9600 = 1 , AIUR_14400 = 2 , AIUR_19200 = 3 , AIUR_28800 = 5 , AIUR_38400 = 6 , AIUR_43200 = 7 , AIUR_57600 = 8 } WantedAirInterfaceUserRate; //ICAT EXPORTED STRUCT typedef struct BearerCapabilityTag { /* @STRUCT_DESC@ Bearer Capability according to 3 GPP 24.008000 or ITU Q.931 */ /* octet 3 */ ChannelRequirement channelRequirement ; Boolean packetMode ; TransferCapability transferCapability ; Boolean speechVersionPresent ; SpeechVersionInd speechVersionInd ; Boolean ctm ; /* octet 4 if channel requirement is not speech */ Boolean dataCompressionAllowed ; DataStructure structure ; Boolean fullDuplexMode ; Boolean nirr ; /* FR 9803 -2115 */ /* octet 5 if channel requirement is not speech */ RateAdaption rateAdaption ; SigAccessProtocol sigAccessProtocol ; /* octet 5 a. For conditions for when these are encoded see 24.008000 -3b0 10.500000 .4.5.1 */ /* otherItc only applicable if transferCapability is Other */ OtherItc otherItc ; /* otherRateAdaption is only applicable if rateAdaption is Other */ OtherRateAdaption otherRateAdaption ; /* octet 5 b: V.120 stuff */ Boolean hdr ; Boolean multiframe ; ModeOfOperation modeOfOperation ; Lli lli ; AssignorAssignee assignorAssignee ; InBandOutOfBand inBandOutOfBand ; /* octet 6 if channel requirement is not speech */ Boolean isAsynchronous ; /* octet 6 a if channel requirement is not speech */ NoOfStopBits noOfStopBits ; NoOfDataBits noOfDataBits ; UserRate userRate ; /* octet 6 b if channel requirement is not speech */ IntermediateRate intermediateRate ; Boolean requiresToTxWithNic ; Boolean canRxWithNic ; ParityInformation parityInformation ; /* octet 6 c if channel requirement is not speech */ ConnectionElement connectionElement ; ModemType modemType ; /* -----------------3 / 10 / 99 11 :37AM------------------ This is set TRUE if the multislot bearers below are present. --------------------------------------------------*/ Boolean multislotPresent ; /* octet 6 d if channel requirement is not speech */ OtherModemType otherModemType ; FixedNetworkUserRate fixedNetworkUserRate ; /* octet 6 e if channel requirement is not speech */ AcceptableChannelCodings acceptableChannelCodings ; MaxNumberOfTrafficChannels maxNumberOfTrafficChannels ; /* octet 6 f if channel requirement is not speech */ Boolean octet6fPresent ; UserInitiatedModification userInitiatedModification ; WantedAirInterfaceUserRate wantedAirInterfaceUserRate ; /* octet 6 g */ /* octet6gPresent determines whether 6 g is encoded , however */ /* it will not be encoded if octet6fPresent is FALSE */ Boolean octet6gPresent ; AcceptableChannelCodingsExtended acceptableChannelCodingsExtended ; AsymmetryIndication asymmetryIndication ; /* octet 7 optional if channel requirement is not speech */ Boolean layer2ProtocolPresent ; Layer2Protocol layer2Protocol ; } BearerCapabilityElement , BearerCapability; //ICAT EXPORTED STRUCT typedef struct SubaddressTag { Int8 infoLength ; SubAddressType type ; OddEvenIndicator oddOrEven ; Int8 info [ 20 ] ; } DeflectedCallToSubaddress , CalledPartySubaddressElement , CallingPartySubaddressElement , ConnectedSubaddressElement , CalledPartySubaddress , CallingPartySubaddress , RedirectingPartySubAddress , ConnectedSubaddress; //ICAT EXPORTED ENUM typedef enum GsmCauseTag /* From 4.080000 10.500000 .4.11 And 4.080000 10.500000 .3.6 */ { // #if defined ( UPGRADE_GPRS ) // #include // #include // useless // #if defined ( UPGRADE_LTE ) /*------------------------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------------------------*/ /******************************************************************************* * File Description: * * EMM cause values * ( ref. LTE 24.301000 ) * * These are the extra GsmCause values needed by EMM in addition standard * GSM causes defined in sml3_typ.h ******************************************************************************/ /*Removed by fxzhang , CQ00115866 , 20190816 , begin*/ /*Move the definitions to sml3_typ.h*/ /*Removed by fxzhang , CQ00115866 , 20190816 , end*/ /* END OF FILE */ // #endif / * UPGRADE_LTE * / // #else // #endif / * UPGRADE_GPRS * / /* GSM Cause Values Phase 2 */ CAUSE_UNASSIGNED_NO = 1 , CAUSE_NO_ROUTE_TO_DEST = 3 , CAUSE_CHAN_UNACCEPTABLE = 6 , CAUSE_OPER_DETERM_BARRING = 8 , CAUSE_NORMAL_CLEARING = 16 , CAUSE_USER_BUSY = 17 , CAUSE_NO_USER_RESPONDING = 18 , CAUSE_ALERTING_NO_ANSWER = 19 , CAUSE_CALL_REJECTED = 21 , CAUSE_NUMBER_CHANGED = 22 , CAUSE_PREEMPTION = 25 , CAUSE_NONSEL_USER_CLRING = 26 , CAUSE_DEST_OUT_OF_ORDER = 27 , CAUSE_INVALID_NO_FORMAT = 28 , CAUSE_FACILITY_REJECTED = 29 , CAUSE_RSP_TO_STATUS_ENQ = 30 , CAUSE_NORMAL_UNSPECIFIED = 31 , CAUSE_NO_CIRC_CHAN_AV = 34 , CAUSE_NET_OUT_OF_ORDER = 38 , CAUSE_TEMP_FAILURE = 41 , CAUSE_SWITCH_CONGESTION = 42 , CAUSE_ACC_INFO_DISCARDED = 43 , CAUSE_REQ_CIRC_CHAN_UNAV = 44 , CAUSE_RESOURCES_UNAV = 47 , CAUSE_QOS_UNAV = 49 , CAUSE_REQ_FAC_NOT_SUBSCR = 50 , CAUSE_CUG_INCOMING_BARRED = 55 , CAUSE_BEAR_CAP_NOT_AUTH = 57 , CAUSE_BEAR_CAP_UNAV = 58 , CAUSE_SERV_OPT_UNAV = 63 , CAUSE_BEAR_SVC_NOT_IMPL = 65 , CAUSE_ACM_EQ_OR_GT_ACMMAX = 68 , /* FR9608-0481 */ CAUSE_REQ_FACIL_NOT_IMPL = 69 , CAUSE_ONLY_RESTRIC_DIG_AV = 70 , CAUSE_SVC_OPT_NOT_IMPL = 79 , CAUSE_INVALID_TI = 81 , CAUSE_USER_NOT_IN_CUG = 87 , CAUSE_INCOMPAT_DEST = 88 , CAUSE_INVALID_TRANSIT_NET = 91 , CAUSE_INVALID_MSG_SEMANTIC = 95 , CAUSE_MAND_IE_ERROR = 96 , CAUSE_MSG_NONEXISTENT = 97 , CAUSE_MSG_GEN_ERROR = 98 , CAUSE_IE_NONEXISTENT = 99 , CAUSE_INVALID_CONDITION_IE = 100 , CAUSE_MSG_INCOMPAT_STATE = 101 , CAUSE_RECOV_ON_TIMER_EXP = 102 , CAUSE_PROTOCOL_ERROR = 111 , CAUSE_INTERWORKING = 127 , CAUSE_IMS_BLOCK = 137 , /*Added by liorgo for CQ00082304 , 18.010000 .2014 */ /* GSM Cause Values Phase 1 */ CAUSE_PH1_INVALID_IE_CONTENTS = 100 , /* reject causes ( 10.500000 .3.6 ) sent in CM Service Reject , Abort , MM-Status and Location Updating Reject messages to MM from the network */ CAUSE_UNALLOCATED_TMSI = 1 , CAUSE_IMSI_UNKNOWN_IN_HLR , CAUSE_ILLEGAL_MS , CAUSE_IMSI_UNKNOWN_IN_VLR , CAUSE_IMEI_NOT_ACCEPTED , CAUSE_ILLEGAL_ME , CAUSE_PLMN_NOT_ALLOWED = 11 , CAUSE_LA_NOT_ALLOWED , CAUSE_NATIONAL_ROAMING_NOT_ALLOWED , // #if defined ( UPGRADE_R99 ) CAUSE_NO_SUITABLE_CELLS_IN_LA = 15 , // #endif CAUSE_NETWORK_FAILURE = 17 , CAUSE_MAC_FAILURE = 20 , CAUSE_SYNCH_FAILURE = 21 , CAUSE_CONGESTION = 22 , // #if defined ( UPGRADE_3G ) CAUSE_GSM_AUTH_UNACCEPTABLE = 23 , // #endif CAUSE_NOT_AUTHORIZED_FOR_CSG = 25 , /* Add for CQ00047742 by chenbo 2013 -11-11 begin*/ // #if defined ( UPGRADE_LTE ) CAUSE_NON_EPS_AUTH_UNACCEPTABLE = 26 , // #endif /* Add for CQ00047742 by chenbo 2013 -11-11 end*/ CAUSE_SERV_OPT_NOT_SUPPORTED = 32 , CAUSE_SERV_OPT_NOT_SUBSCRIBED , CAUSE_SERV_OPT_TEMP_OUT_OF_ORDER , CAUSE_CALL_CANNOT_BE_IDENTIFIED = 38 , CAUSE_RETRY_IN_NEW_CELL_LOW = 192 , CAUSE_RETRY_IN_NEW_CELL_HIGH = 207 , /* RR cause values */ RRC_NORMAL_EVENT = 0 , RRC_ABNORMAL_REL_UNSPECIFIED = 1 , RRC_ABNORMAL_REL_CHAN_UNACCEPT = 2 , RRC_ABNORMAL_REL_TIMER_EXPIRY = 3 , RRC_ABNORMAL_REL_NO_RF_ACTIVITY = 4 , RRC_PREEMPTIVE_RELEASE = 5 , RRC_TIMING_ADVANCE_OUT_OF_RANGE = 8 , RRC_CHAN_MODE_UNACCEPTABLE = 9 , RRC_FREQUENCEY_NOT_IMPLEMENTED = 10 , RRC_CALL_ALREADY_CLEARED = 65 , RRC_SEMANTICALLY_INCORRECT_MSG = 95 , RRC_MANDATORY_IE_ERROR = 96 , RRC_MSG_NOT_IMPLEMENTED = 97 , RRC_MSG_NOT_COMPAT_WITH_STATE = 98 , RRC_CONDITIONAL_IE_ERROR = 100 , RRC_NO_CA_AVAILABLE = 101 , RRC_PROTOCOL_ERROR_UNSPECIFIED = 111 , /*Added by fxzhang , CQ00115866 , 20190816 , begin*/ /*Move the definitions here from gmmcause.h & emmcause.h*/ /*GMM CAUSE VALUES*/ CAUSE_GMM_GPRS_SERVICES_NOT_ALLOWED = 0x07 , CAUSE_GMM_COMBINED_SERVICES_NOT_ALLOWED = 0x08 , CAUSE_GMM_MS_ID_NOT_IN_NETWORK = 0x09 , CAUSE_GMM_IMPLICITLY_DETACHED = 0x0a , CAUSE_GPRS_NOT_ALLOWED_IN_PLMN = 0x0e , CAUSE_GMM_MSC_TEMP_NOT_REACHABLE = 0x10 , CAUSE_NO_PDP_CONTEXT_ACTIVATED = 0x28 , CAUSE_GMM_NO_CAUSE = 0xffff , /*EMM CAUSE VALUES*/ CAUSE_IMSI_UNKNOWN_IN_HSS = 0x02 , CAUSE_EMM_EPS_SERVICES_NOT_ALLOWED = 0x07 , CAUSE_EMM_COMBINED_SERVICES_NOT_ALLOWED = 0x08 , CAUSE_EMM_MS_ID_NOT_IN_NETWORK = 0x09 , CAUSE_EMM_IMPLICITLY_DETACHED = 0x0a , CAUSE_TA_NOT_ALLOWED = 0x0c , CAUSE_EPS_NOT_ALLOWED_IN_PLMN = 0x0e , CAUSE_NO_SUITABLE_CELLS_IN_TA = 0x0f , CAUSE_EMM_MSC_TEMP_NOT_REACHABLE = 0x10 , CAUSE_EMM_CS_NOT_AVAILABLE = 0x12 , CAUSE_ESM_FAILURE = 0x13 , CAUSE_EMM_SECURITY_CAPAILITY_MISMATCH = 0x17 , CAUSE_EMM_SECURITY_MODE_REJECTED_UNSPECIFIED = 0x18 , CAUSE_EMM_NOT_AUTHORIZED_FOR_THIS_CSG = 0x19 , CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE = 0x1a , CAUSE_EMM_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED_IN_THIS_PLMN = 0x23 , CAUSE_EMM_CS_TEMP_NOT_AVAILABLE = 0x27 , CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED = 0x28 , /* Added by flxing , for CQ00040210 , 20130806 , begin */ CAUSE_SERVERE_NETWORK_FAILURE = 0x2A , /* Added by flxing , for CQ00040210 , 20130806 , end */ CAUSE_EMM_NO_CAUSE = 0xffff , /*Added by fxzhang , CQ00115866 , 20190816 , end*/ /* Internal Cause Values */ /* SMRL causes not covered by 4.080000 cause values */ CAUSE_CALL_BARRED = 10 , CAUSE_RESERVED = 11 , CAUSE_MEMORY_EXCEEDED = 22 , CAUSE_UNIDENTIFIED_SUBSCRIBER = 28 , CAUSE_UNKNOWN_SUBSCRIBER = 30 , CAUSE_INVALID_SM_TRANSFER_REF = 81 , /* Corrupt Message Cause Values */ CAUSE_INVALID_IE_CONTENTS = 0x1000 , /* cause values in a RR_REL_IND - these form part of this set because MM has to relay these causes to CM in addition to air interface causes */ NORMAL_RELEASE = 0x3100 , /* RR is 1 st layer in L3 */ IMMEDIATE_ASSIGN_REJECT , T3122_STILL_RUNNING , RACH_FAIL , CELL_SELECTION_IN_PROGRESS , REESTABLISHMENT_BARRED , ACCESS_CLASS_BARRED , RESPONDING_TO_PAGING , LOWER_LAYER_FAILURE , FAKE_CELL_FOUND , ABNORMAL_RELEASE , LOCATION_AREA_CODE_HAS_CHANGED , CIRCUIT_SWITCHED_NOT_AVAILABLE , CCO_T309_EXPIRED , CAUSE_DS_DED_STATE , NORMAL_RELEASE_DURING_OUTGOING_MM_CONNECTION , /*merge from kunlun*/ INTER_RAT_CELL_SELECTION , /*merge from kunlun*/ // -+ CQ00201926 6 -Feb-2012 +- FAST_RETURN_SUCCESS_REL , /* MM causes */ CAUSE_MM_AUTH_FAILURE = 0x3200 , /* MM is 2 nd layer in L3 */ CAUSE_MM_CONNECTION_FAIL , CAUSE_MAX_NUM_CM_CONNS_EXCEEDED , CAUSE_MM_NO_CS_SERVICE , CAUSE_MM_NOT_REGISTERED , CAUSE_MM_CELL_SELECTION , CAUSE_MM_SIM_REMOVED , CAUSE_MM_DETACHING , CAUSE_INCOMPATIBLE_MM_STATE , CAUSE_MM_NO_SERVICE , /* Added by flxing , for CQ00083402 , 20150128 */ /*CQ00014826 920 DSDS begin*/ // #if defined ( UPGRADE_DSDS ) CAUSE_CM_DMM_DEDICATE , CAUSE_MM_NO_CSFB_CAPABILITY , /*Added by fxzhang , CQ00115814 , 20190809 , new reject cause for LTE only or cspsMode2 && SMS only , CC won ' t try redial*/ CAUSE_MM_ECALL_CAMP_NEEDED , /*Added by fxzhang , CQ00116659 , 20191028 , new cause for emergency call , ABCC / ABMM will send mmrCampReq*/ CAUSE_MM_ECALL_CAMP_NEEDED_NEW_PLMN , /*Added by fxzhang , CQ00124203 , 20200911 , new cause for emergency call , ABCC / ABMM will send mmrCampReq with new PLMN*/ CAUSE_MM_ECALL_CAMP_NEEDED_GSM , /*Added by fxzhang , CQ00126209 , 20201126 , new cause for emergency call , ABCC / ABMM will send mmrCampReq with GSM mode*/ CAUSE_MM_DS_PTM_SHUTDOWN , CAUSE_MM_ABORT_BY_CS , // CQ37842 // #endif /*CQ00014826 920 DSDS end*/ // add by xguohua 2013 CQ 40066 begin CAUSE_MM_UNALLOCATED_TMSI , CAUSE_MM_ILLEGAL_MS , CAUSE_MM_ILLEGAL_ME , CAUSE_MM_NETWORK_FAILURE , CAUSE_MM_SYNCH_FAILURE , CAUSE_MM_CONGESTION , CAUSE_MM_CALL_CANNOT_BE_IDENTIFIED , CAUSE_MM_TRY_ATTACH , // Added by wtli for CQ00072498 , 2014.100000 .09 CAUSE_MM_REJECT_GSM_VT , // Added by Hanko for CQ00087133 20150311 // add by xguohua 2013 CQ 40066 end CAUSE_MM_ABORT_BY_ANOTHER_SIM_SERVICE , /*add by Hanko for CQ00101093 20150828 */ CAUSE_ECALL_FAIL_DURING_CSFB , /* #524074 */ /* Added by flxing , CQ00106596 , 20161125 */ /* CC-AL causes */ CAUSE_CC_NO_CAUSE = 0x3310 , /* CM is 3 rd layer in L3 */ CAUSE_INSUFFICIENT_TASKS , /* SM-CM causes */ CAUSE_CP_ACK_NOT_RECEIVED = 0x3320 , CAUSE_CP_SERVICE_OPT_TEMP_OUT_OF_ORDER , CAUSE_CP_ENTITY_ALLOC_FAIL , CAUSE_CP_NO_ERROR , /* SM-RL causes */ CAUSE_RP_TIMEOUT_ERROR = 0x4000 , /* RL is Layer 4 */ CAUSE_RP_ENTITY_ALLOC_FAIL , CAUSE_RP_ENTITY_NONE_FREE , CAUSE_RP_NO_ERROR , /********************************* SM / ESM cause**********************************/ // SM cause , 24.008000 - 10.500000 .6.6 SM_CAUSE_OPERATOR_DETERMINED_BARRING = 0x08 , SM_CAUSE_LLC_OR_SNDCP_FAILURE = 0x19 , SM_CAUSE_INSUFFIC_RESOURCES = 0x1A , SM_CAUSE_MISSING_OR_UNKNOWN_APN = 0x1B , SM_CAUSE_UNKNOWN_PDP_ADDR_OR_TYPE = 0x1C , SM_CAUSE_USER_AUTH_FAILED = 0x1D , SM_CAUSE_ACTIV_REJ_BY_GGSN = 0x1E , SM_CAUSE_ACTIV_REJ_UNSPECIFIED = 0x1F , SM_CAUSE_SERVICE_OPT_NOT_SUPPORTED = 0x20 , SM_CAUSE_SERVICE_OPT_NOT_SUBSCRIBED = 0x21 , SM_CAUSE_SERVICE_OPT_TEMP_OUT_OF_ORDER = 0x22 , SM_CAUSE_NSAPI_ALREADY_USED = 0x23 , SM_CAUSE_REGULAR_DEACTIVATION = 0x24 , SM_CAUSE_QOS_NOT_ACCEPTED = 0x25 , SM_CAUSE_NETWORK_FAILURE = 0x26 , SM_CAUSE_REACTIVATION_REQUIRED = 0x27 , SM_CAUSE_FEATURE_NOT_SUPPORTED = 0x28 , /* Added for 111 -13748 */ SM_CAUSE_SEMANTIC_ERROR_IN_TFT_OPERATION = 0x29 , SM_CAUSE_SYNTACTICAL_ERROR_IN_TFT_OPERATION = 0x2A , SM_CAUSE_UNKNOWN_PDP_CONTEXT = 0x2B , SM_CAUSE_SEMANTIC_ERRORS_IN_PACKET_FILTER = 0x2C , SM_CAUSE_SYNTACTICAL_ERRORS_IN_PACKET_FILTER = 0x2D , SM_CAUSE_PDP_CONTEXT_WITHOUT_TFT_ALREADY_ACTIVATED = 0x2E , /*2013.04.08 , added by Xili for CQ00031978 , begin*/ SM_CAUSE_PDP_TYPE_IPV4_ONLY_ALLOWED = 0x32 , SM_CAUSE_PDP_TYPE_IPV6_ONLY_ALLOWED = 0x33 , SM_CAUSE_SINGLE_ADDRESS_BEARERS_ONLY_ALLOWED = 0x34 , /*2013.04.08 , added by Xili for CQ00031978 , end*/ SM_CAUSE_COLLISION_WITH_NW_INITIATED_REQ = 0x38 , SM_CAUSE_BEARER_HANDLING_NOT_SUPPORTED = 0x3c , SM_CAUSE_MAX_NUM_OF_EPS_BEARERS_REACHED = 0x41 , SM_CAUSE_REQUESTED_APN_NOT_SUPPORT_IN_CURRENT_RAT_PLMN_COMBINATION = 0x42 , SM_CAUSE_INVALID_TI_VALUE = 0x51 , SM_CAUSE_SEMANTICALLY_INCORRECT_MSG = 0x5F , SM_CAUSE_INVALID_MAND_INFORMATION = 0x60 , SM_CAUSE_MSG_TYPE_NONEXIST_OR_NOT_IMP = 0x61 , SM_CAUSE_MSG_TYPE_INCOMPAT_WITH_STATE = 0x62 , SM_CAUSE_IE_NONEXIST_OR_NOT_IMP = 0x63 , SM_CAUSE_CONDITIONAL_IE_ERROR = 0x64 , SM_CAUSE_MSG_INCOMPAT_WITH_STATE = 0x65 , SM_CAUSE_PROTOCOL_ERROR_UNSPEC = 0x6F , /* Added for rel6: APN restriction value incompatible with active PDP context */ SM_CAUSE_APN_RESTRICTION = 0x70 , // last SM cause // ESM cause , 24.301000 - 9.900000 .4.4 ESM_OPERATOR_DETERMINED_BARRING = 0x08 , ESM_INSUFFICIENT_RESOURCES = 0x1a , ESM_UNKNOWN_OR_MISSING_APN = 0x1b , ESM_UNKNOWN_PDN_TYPE = 0x1c , ESM_USER_AUTHENTICATION_FAILED = 0x1d , ESM_REQUEST_REJECTED_BY_SERVING_GW_OR_PDN_GW = 0x1e , ESM_REQUEST_REJECTED_UNSPECIFIED = 0x1f , ESM_SERVICE_OPTION_NOT_SUPPORTED = 0x20 , ESM_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED = 0x21 , ESM_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER = 0x22 , ESM_PTI_ALREADY_IN_USE = 0x23 , ESM_REGULAR_DEACTIVATION = 0x24 , ESM_EPS_QOS_NOT_ACCEPTED = 0x25 , ESM_NETWORK_FAILURE = 0x26 , ESM_REACTIVATION_REQUESTED = 0x27 , ESM_SEMANTIC_ERROR_IN_THE_TFT_OPERATION = 0x29 , ESM_SYNTACTICAL_ERROR_IN_THE_TFT_OPERATION = 0x2a , ESM_INVALID_EPS_BEARER_IDENTITY = 0x2b , ESM_SEMANTIC_ERRORS_IN_PACKET_FILTER = 0x2c , ESM_SYNTACTICAL_ERRORS_IN_PACKET_FILTER = 0x2d , ESM_EPS_BEARER_CONTEXT_WITHOUT_TFT_ALREADY_ACTIVATED = 0x2e , ESM_PTI_MISMATCH = 0x2f , ESM_LAST_PDN_DISCONNECTION_NOT_ALLOWED = 0x31 , ESM_PDN_TYPE_IPV4_ONLY_ALLOWED = 0x32 , ESM_PDN_TYPE_IPV6_ONLY_ALLOWED = 0x33 , ESM_SINGLE_ADDRESS_BEARERS_ONLY_ALLOWED = 0x34 , ESM_ESM_INFORMATION_NOT_RECEIVED = 0x35 , ESM_PDN_CONNECTION_DOES_NOT_EXIST = 0x36 , ESM_MULTIPLE_PDN_CONNECTIONS_FOR_A_GIVEN_APN_NOT_ALLOWED = 0x37 , ESM_COLLISION_WITH_NETWORK_INITIATED_REQUEST = 0x38 , ESM_UNSUPPORTED_QCI_VALUE = 0x3b , ESM_BEARER_HANDLING_NOT_SUPPORTED = 0x3c , ESM_MAX_NUM_OF_EPS_BEARERS_REACHED = 0x41 , ESM_REQUESTED_APN_NOT_SUPPORT_IN_CURRENT_RAT_PLMN_COMBINATION = 0x42 , ESM_INVALID_PTI_VALUE = 0x51 , ESM_SEMANTICALLY_INCORRECT_MESSAGE = 0x5f , ESM_INVALID_MANDATORY_INFORMATION = 0x60 , ESM_MESSAGE_TYPE_NONEXISTENT_OR_NOT_IMPLEMENTED = 0x61 , ESM_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE = 0x62 , ESM_INFORMATION_ELEMENT_NONEXISTENT_OR_NOT_IMPLEMENTED = 0x63 , ESM_CONDITIONAL_IE_ERROR = 0x64 , ESM_MESSAGE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE = 0x65 , ESM_PROTOCOL_ERROR_OR_UNSPECIFIED = 0x6f , ESM_APN_RESTRICTION_VALUE_INCOMPATIBLE_WITH_ACTIVE_EPS_BEARER_CONTEXT = 0x70 , // SM / ESM internal cause , start from 0x0100 , and the cause before 0x0100 is reserved for 3 GPP ; /* Local cause*/ SM_ESM_INTERNAL_LOCAL_CAUSE_BASE = 0x0100 , ESM_ENMERGNECY_BEARER_SERVICE_ALREADY_RUN = 0x0101 , // for emergency bearer only ESM_HANDOVER_FLAG = 0x0102 , // IRAT ESM_CAUSE_EPS_SERVICE_NOT_AVAILABLE = 0x0103 , // EPS PS service not available , ESM_NOTIFY_REATTACH = 0x0104 , ESM_NOTIFY_DETACH = 0x0105 , ESM_PDN_REQUEST_NEED_RETRY = 0x0106 , ESM_APN_IS_NOT_AVAILABLE = 0x0107 , // APN is missing ESM_EMERGENCY_PDN_REQUEST_CONTAINS_APN = 0x0108 , // emergency bearer should not contain APN ESM_ATTACH_FOR_EMERGENCY_BEARER_SERVICE = 0x0109 , // emergency attached , but require additional bearer ESM_CAUSE_IMS_BLOCK = 0x89 , ESM_CAUSE_EMM_DEACTIVATION = 0x90 , /*added by liorgo for CQ00088175 , 2015.030000 .24*/ ESM_ATTACH_REJECT_NO_EITF = 0x91 , ESM_PDP_OPERATTION_NOT_ALLOWED = 0x010B , // PDP operation not allowed for some reason SM_ESM_PDP_INPUT_PARAM_INVALID = 0x010C , SM_ESM_T3396_RUNNING = 0x010D , SM_ESM_TIMER_OUT_ERROR = 0x010E , SM_ESM_POWER_OFF = 0x010F , // SM / ESM internal use only / *Lilei , CQ00144802 , 20230720 * / // Cause for PDP activation request reject in AB side ; ABGP_PDP_NO_FREE_NSAPIS = 0x0150 , ABGP_PDP_GPRS_SERVICE_NOT_AVAILABLE = 0x0151 , ABGP_PDP_POWERING_DOWN = 0x0152 , ABGP_PDP_FDN_FAILURE = 0x0153 , ABGP_PDP_APN_CHECK_FAILURE = 0x0154 , /** !internal cause add here! **/ SM_ESM_OPERATION_REJECT_BY_MM = 0x0200 , // reject by GMM / EMM SM_CAUSE_FAIL_DS_OPERATION = 0x3300 , // failed as DSDS operation ; SM_CAUSE_FAIL_RCV_NEW_PAGING = 0x3310 , SM_CAUSE_FAIL_OOS = 0x3320 , SM_CAUSE_NO_CAUSE_SET = 0x3400 , // CQ00149580 /******************************* SM / ESM cause , END **********************************/ /* value used if cause is passed to AL and nothing is relevant */ CAUSE_RPM_REJECT = 880 , CAUSE_NOT_APPLICABLE = 0x7000 , // #if defined ( REGATTA ) // # include // #endif ESM_CAUSE_UNKNOWN = 0xFFFF , noMoreGsmCauses = 0xFFFF } GsmCause , EmmCause , SmCause , EsmCause; //ICAT EXPORTED ENUM typedef enum gmmSmReleaseCauseTag { GMM_SM_RELEASE_OTHER = 0 , GMM_SM_RELEASE_POWEROFF = 1 , GMM_SM_RELEASE_SIMREMOVE = 2 , GMM_SM_RELEASE_DATAPDN = 3 , /*This cause is used to deactive data pdn at TAU after fakeESR. if only data pdn , do nothing ; otherwise , deactive data pdn*/ /*Added by fxzhang , CQ00113628 , 20190111 */ GMM_SM_RELEASE_PSM = 4 , // add by xyma for CQ00125818 GMM_SM_RELEASE_EMERGENCY_PDN = 5 , /*Added by fxzhang , CQ00134562 , 20211221 */ GMM_SM_RELEASE_REATTACH = 6 , /*Added by fxzhang , CQ00150831 , 20240531 */ GMM_SM_RELEASE_IMS_IPV6_RS_FAIL = 7 /*Lilei , CQ00152046 , 20240805 */ } gmmSmReleaseCause; //ICAT EXPORTED ENUM typedef enum GmmTriggerIndicatorTag { GMM_SM_TRIGGERED_BY_OTHERS = 0 , GMM_SM_TRIGGERED_BY_RAU = 1 , GMM_SM_TRIGGERED_BY_TAU = 2 } GmmTriggerIndicator; typedef Int8 EmptyMemberOfUnion ; typedef union DiagnosticsUnionTag { EmptyMemberOfUnion noDiagnostics ; RawData raw ; L3MessageType l3MessageType ; } DiagnosticsUnion ; typedef union LlcRateAdaptionTag { Int8 none ; LlcRateAdaptionV110 v110 ; LlcRateAdaptionV120 v120 ; } LlcRateAdaption ; //ICAT EXPORTED STRUCT typedef struct PriorityLevelOptTag { Boolean present ; PriorityLevel priorityLevel ; } PriorityLevelOpt; typedef Int8 StreamIdentifier ; typedef Int8 NetworkCallControlCapabilities ; typedef Int8 USecurityKey [ 16 ] ; typedef Int8 KeySeqId ; //ICAT EXPORTED ENUM typedef enum UrlBearerModeTag { /** Transparent Mode */ URL_BEARER_MODE_TM = 0 , /** Unacknowledged Mode */ URL_BEARER_MODE_UM = 1 , /** Acknowledged Mode */ URL_BEARER_MODE_AM = 2 , /** Number of bearer modes */ URL_MUM_BEARER_MODES = 3 } UrlBearerMode; //ICAT EXPORTED STRUCT typedef struct UrlTmUnsegmentedTfcSelectionInfoTag { /** Indicates how many SDU ' s of the same size ( \c sduBits ) are available * for transmission. */ Int16 numSdus ; /** Indicates the size of each SDU in bits. */ Int16 sduBits ; } UrlTmUnsegmentedTfcSelectionInfo; //ICAT EXPORTED STRUCT typedef struct UrlTmSegmentedTfcSelectionInfoTag { /** Indicates the size of the next available SDU in bits. */ Int32 sduBits ; } UrlTmSegmentedTfcSelectionInfo; //ICAT EXPORTED STRUCT typedef struct UrlTmTfcSelectionInfoTag { /** A boolean flag to indicate if the bearer is configured to transmit * un-segmented or segmented SDU ' s: * - FALSE: Unsegmented ( one SDU per PDU , provided all the SDUs are of * the same size ) * - TRUE: Segmented ( one SDU per TTI , evenly segmented ) */ Boolean segmented ; /** A data structure to define either of these: * - #UrlTmUnsegmentedTfcSelectionInfo * - #UrlTmSegmentedTfcSelectionInfo */ union { /** Refer to #UrlTmUnsegmentedTfcSelectionInfo */ UrlTmUnsegmentedTfcSelectionInfo unsegmented ; /** Refer to #UrlTmSegmentedTfcSelectionInfo */ UrlTmSegmentedTfcSelectionInfo segmented ; } data ; } UrlTmTfcSelectionInfo; //ICAT EXPORTED STRUCT typedef struct UrlUmTfcSelectionInfoTag { /** Indicates an approximation of the number of bits of data available * for transmission , given that RLC doesn ' t know the PDU size that will be * selected by MAC ; and it includes: * - the total number of bits of SDU data available for transmission * - the size of one length indicator for each SDU * - the size of one length indicator for each SDU that requires a START * LI */ Int16 numBitsForTx ; } UrlUmTfcSelectionInfo; //ICAT EXPORTED STRUCT typedef struct UrlSegmentedTxPdusInfoTag { Int16 pdusNumber ; Int16 pduSize ; } UrlSegmentedTxPdusInfo; //ICAT EXPORTED STRUCT typedef struct UrlAmTfcSelectionInfoTag { /** Indicates if the bearer is configured for one or two logical channels. */ Boolean twoLogicalChannels ; /** Indicates how many bits of control PDUs are available for transmission. */ Int16 numControlBitsForTx ; /** Indicates how many bits of data PDUs are available for transmission * ( excludes PDUs that can ' t be transmitted yet ) . */ Int16 numDataBitsForTx ; Int16 maxNumberOfPdusForTx ; /*CQ00067395 merged for FRBD 20140806 */ /** When twoLogicalChannels is configured , indicates how many bits of control PDUs are available *for transmission on data logical channel. */ Int16 numControlOnDataLogChBitsForTx ; } UrlAmTfcSelectionInfo; //ICAT EXPORTED STRUCT typedef struct UrlTfcSelectionInfoTag { /** Indicates the operating mode of a bearer , which can be AM / UM / TM. */ UrlBearerMode mode ; /** Holds any one of the following based on \c mode: * - #UrlTmTfcSelectionInfo * - #UrlUmTfcSelectionInfo * - #UrlAmTfcSelectionInfo */ union { UrlTmTfcSelectionInfo tm ; UrlUmTfcSelectionInfo um ; UrlAmTfcSelectionInfo am ; } info ; } UrlTfcSelectionInfo; typedef Int32 UrlTrafficVolumeBits ; //ICAT EXPORTED STRUCT typedef struct UrlBufferInfoTag { /** Indicates the information required by MAC for TFC selection , where its * content differs for each mode. */ UrlTfcSelectionInfo tfcSelection ; /** Indicates the total number of bits of data queued for transmission. */ UrlTrafficVolumeBits trafficVolumeBits ; /*CQ00067395 merged for FRBD 20140806 start*/ /** PDUs sizes information */ Int16 numOfSegmentedTxPdus ; UrlSegmentedTxPdusInfo pdusInfo [ 32 ] ; /*CQ00067395 merged for FRBD 20140806 end*/ } UrlBufferInfo; DIAG_FILTER ( L1A , l1a_phy , L1aSetModeAfterDeactive_entry , DIAG_INFORMATION) diagPrintf ( " L1aSetModeAfterDeactive_entry: l1aDeactiveCause=%e { LteDeactiveCause } , " , pL1aGlobalEntity->l1aDeactiveCause ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleEcphyFindCellReq_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleEcphyFindCellReq_enter: currentRat:%e { initialRat_te } , ratSetCause=%e { RatSetCause } , l1aCurrentState=%e { L1aState } , iratCurrentProcedure=%e { L1aIratProcedure } " , currentRat , pL1aGlobalEntity->ratSetCause , pL1aGlobalEntity->l1aCurrentState , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_phy , L1aCheckCurrentStateNeedCancelSleep_TRUE , DIAG_INFORMATION) diagPrintf ( " L1aCheckCurrentStateNeedCancelSleep_TRUE. " ); DIAG_FILTER ( L1A , l1a_phy , L1aPermittSleepInd_result_NonDsds , DIAG_INFORMATION) diagPrintf ( " L1aPermittSleepInd_result_NonDsds: permitted=%d. l1aCurrentState:%e { L1aState } , l1a_power_management_enable=%d , L1aGetCurrentTime=%lx , l1aKeepSleepCancelTime=%lx , lteReselToIratOngoing=%d. " , sleepPermitted , pL1aGlobalEntity->l1aCurrentState , l1a_power_management_enable , L1aGetCurrentTime ( ) , pL1aGlobalEntity->l1aKeepSleepCancelTime , pL1aGlobalEntity->lteReselToIratOngoing , dspInterruptDisabled // CQ00133125 add ); //ICAT EXPORTED FUNCTION - L1A , l1a_phy , L1aTestStubTriggerEarlyWakeup void L1aTestStubTriggerEarlyWakeup ( void *base ) { Int32 timeInUs = * ( ( UINT32* ) base ) ; // unit us triggerEarlyWakeup = 1 ; maxSleepDelayTime = ( timeInUs*100 ) %10000 ; // max 100 us } DIAG_FILTER ( L1A , l1a_phy , L1aCheckSleepAllowed_FALSE3 , DIAG_INFORMATION) diagPrintf ( " L1aCheckSleepAllowed_FALSE3: GNSS is reading RF TMEP , not allow L1 to sleep. " ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleLteSleepInd_longEdrx , DIAG_INFORMATION) diagPrintf ( " L1aHandleLteSleepInd_longEdrx: l1aSleepDuration=0x%x , longEdrxDuration = 0x%x " , pL1aGlobalEntity->l1aSleepDuration , pL1aGlobalEntity->longEdrxDuration ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleEcphyClassMarkCnf_NoC6 , DIAG_INFORMATION) diagPrintf ( " L1aHandleEcphyClassMarkCnf_NoC6:l1a_power_management_enable=%d , L1aGetCpaState ( ) =%d. " , l1a_power_management_enable , L1aGetCpaState ( ) ); DIAG_FILTER ( L1TW , VAL_L1A , L1aSetPlmsSearchType_1 , DIAG_INFORMATION) diagPrintf ( " plms searhc type changed to %d " , searchType ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleRssiScanReq_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanReq_enter: rssiScanReq_p->bgInd = %d , currentRat=%e { initialRat_te } " , rssiScanReq_p->bgInd , L1aGtiL1GetRAT ( ) ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleRssiScanReq_background , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanReq_background: copying %d bytes " , sizeof ( plmRssiScanReq_ts ) ); DIAG_FILTER ( L1A , l1a_phy , L1aHandleRssiScanReq_ForeGround , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanReq_ForeGround: currentRat:%e { initialRat_te } , l1aCurrentState:%e { L1aState } , iratCurrentProcedure=%e { L1aIratProcedure } , isDualLink=%d. " , currentRat , pL1aGlobalEntity->l1aCurrentState , pL1aGlobalEntity->iratCurrentProcedure , isDualLink ); DIAG_FILTER ( L1A , l1a_irat , L1aHandleRssiScanCnf_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanCnf_enter , pL1aGlobalEntity->iratCurrentProcedure=%e { L1aIratProcedure } " , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_irat , L1aHandleRssiScanAbortReq2 , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanAbortReq , IGNORE RSSI ABORT REQ wait that SET_LTE will end , L1aGlobalEntity->iratCurrentProcedure=%e { L1aIratProcedure } " , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_irat , L1aHandleRssiScanAbortReq3 , DIAG_INFORMATION) diagPrintf ( " L1aHandleRssiScanAbortReq , IGNORE RSSI ABORT REQ and SEND ABORT CNF , L1aGlobalEntity->iratCurrentProcedure=%e { L1aIratProcedure } " , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_phy , l1aHandleEcphyWifiScanGapInd_enter , DIAG_INFORMATION) diagPrintf ( " l1aHandleEcphyWifiScanGapInd_enter: call lfiScanGapStartInd ( gapLen=%d , simId=%d ) . " , msg.gapLength , simId ); DIAG_FILTER ( L1A , l1a_phy , l1aHandleWifiScanGapFinishInd_enter , DIAG_INFORMATION) diagPrintf ( " l1aHandleWifiScanGapFinishInd_enter: num of buffered IPCs=%d " , pL1aGlobalEntity->bufferedIPCList.num ); DIAG_FILTER ( L1A , l1a_phy , fliScanGapFinishInd_enter , DIAG_INFORMATION) diagPrintf ( " fliScanGapFinishInd ( simId=%d ) is called. " , simId ); DIAG_FILTER ( L1A , l1a_phy , l1aHandleWifiScanGapReqInd_enter , DIAG_INFORMATION) diagPrintf ( " l1aHandleWifiScanGapReqInd_enter: l1aDspDuringSleep=%d. " , l1aDspDuringSleep ); DIAG_FILTER ( L1A , l1a_phy , fliScanGapReqInd_enter , DIAG_INFORMATION) diagPrintf ( " fliScanGapReqInd ( simId=%d ) is called. " , simId ); DIAG_FILTER ( L1A , l1a_sys , L1aHandleEcphyComCmdReq_wifiGap , DIAG_INFORMATION) diagPrintf ( " L1aHandleEcphyComCmdReq_wifiGap: ignore this query due to wifiSeachUseLteGapIsOnGoing , can not send IPC to L1. " ); DIAG_FILTER ( L1A , L1aMain , L1aSendLteBackupL1DataReq_1 , DIAG_INFORMATION) diagStructPrintf ( " L1aSendLteBackupL1DataReq_1:%S { LteBackupL1Data } " , &l1aLteBackupL1Data , sizeof ( LteBackupL1Data ) ); //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_response.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_response.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; //ICAT EXPORTED ENUM typedef struct LteEcphyComCmdL1LogInfoTag { Int8 commonId ; // CMID_L1_LOG_INFO_IND = 197 Int8 reseved ; Int16 msglength ; // log data length Int32 *msgPtr ; // log data pointer } LteEcphyComCmdL1LogInfo; //ICAT EXPORTED ENUM typedef enum L1aPlatCommonReqTypeTag { L1A_PLAT_COMMON_REQ_IDAC = 0 , L1A_PLAT_COMMON_REQ_MAX , } L1aPlatCommonReqType; //ICAT EXPORTED ENUM typedef enum L1aPlatCommonRspTypeTag { L1A_PLAT_COMMON_RSP_IDAC = 0 , L1A_PLAT_COMMON_RSP_MAX , } L1aPlatCommonRspType; //ICAT EXPORTED STRUCT typedef struct L1aPlatCommonReqTag { L1aPlatCommonReqType reqType ; Int8 lenOfPara ; /*in byte , MAX size is L1A_PLAT_COM_REQ_MAX_SIZE*/ Int8 para [ 0 ] ; /*para [ 0 ] means variable length , can save stack space , infact lenght = lenOfPara*/ } L1aPlatCommonReq; typedef void ( *IPC_CALLBACK_FUNCTION ) ( Int8 *data , Int16 dataLen ) ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalResultDataAck_afc , DIAG_INFORMATION) diagPrintf ( " L1A AFC cal result data ack received.l1aAfcCalDataSema:%x " , l1aAfcCalDataSema ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalResultDataAck_agc , DIAG_INFORMATION) diagPrintf ( " L1A AGC cal result data ack received.l1aAgcCalDataSema:%x " , l1aAgcCalDataSema ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalResultDataAck_apc , DIAG_INFORMATION) diagPrintf ( " L1A APC cal result data ack received.l1aApcCalDataSema:%x " , l1aApcCalDataSema ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalResultDataAck_error , DIAG_INFORMATION) diagPrintf ( " L1A Error! cal result data ack recieved with wrong item Id:%d " , calResultDataAck.itemId ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalResultDataAck_notMatch , DIAG_INFORMATION) diagPrintf ( " L1aHandleCalResultDataAck: not wanted operatin ID: %ld " , operationId ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleReadRfTempCnf_1 , DIAG_INFORMATION) diagStructPrintf ( " L1A RF temperature raw data flow: " , ( void* ) para , paraLen ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleReadRfTempCnf_2 , DIAG_INFORMATION) diagPrintf ( " L1A RF rfTemperatureValue=0x%lx , rfTemperCelsiusValue=0x%lx\n " , tempValue , tempCelsiusValue ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleReadAdcRtpValueCnf_end , DIAG_INFORMATION) diagPrintf ( " L1aHandleReadAdcRtpValueCnf_end: Temperature AdcValue=%d. " , *para ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleReadAdcValueCnf_end , DIAG_INFORMATION) diagPrintf ( " L1aHandleReadAdcValueCnf_end: Voltage AdcValue=%d. " , *para ); DIAG_FILTER ( L1A , L1ACAL , PlatToL1aCommonIpcReq_enter , DIAG_INFORMATION) diagPrintf ( " PlatToL1aCommonIpcReq_enter: commonId=%d , lenOfPara=%d , para [ 0 ] =0x%x , para [ 1 ] =0x%x , para [ 2 ] =0x%x , para [ 3 ] =0x%x. " , pCmdMsg->commonId , pCmdMsg->lenOfPara , pCmdMsg->para [ 0 ] , pCmdMsg->para [ 1 ] , pCmdMsg->para [ 2 ] , pCmdMsg->para [ 3 ] ); DIAG_FILTER ( L1A , l1a_response , L1aHandlePlatCommonIpcRsp_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandlePlatCommonIpcRsp_enter:commonId=%e { LteEcphyComCmdOpId } , rspType=%e { L1aPlatCommonRspType } . " , pSigData->commonId , rspType ); DIAG_FILTER ( L1A , L1ACAL , L1aSetLteBackupL1Data_end , DIAG_INFORMATION) diagStructPrintf ( " L1aSetLteBackupL1Data_end:%S { LteBackupL1Data } " , pBackupL1Data , sizeof ( LteBackupL1Data ) ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleL1LogInfoInd_rawData , DIAG_INFORMATION) diagStructPrintf ( " L1aHandleL1LogInfoInd_rawData: " , ( void* ) msgPtr , msglength ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleEcphyCommonRsp_Warning , DIAG_INFORMATION) diagPrintf ( " LL1aHandleEcphyCommonRsp_Warning: unknown commonId=%d " , commonId ); DIAG_FILTER ( L1A , L1AResponse , L1aHandleIpcReportInd1 , DIAG_INFORMATION) diagPrintf ( " L1aHandleIpcReportInd ( ) entered msgLen %d , msgData [ 0 ] %d , msgData [ 1 ] %d , msgData [ 2 ] %d , opCode=0x%x " , msgLen , msgData [ 0 ] , msgData [ 1 ] , msgData [ 2 ] , l1aIpcReportInd_p->opcode ); DIAG_FILTER ( L1A , L1a_Response , L1aHandleIpcReportInd_1 , DIAG_INFORMATION) diagPrintf ( " L1A a unwanted IPC message received , %e { plpCommands } " , l1aIpcReportInd_p->opcode ); DIAG_FILTER ( L1A , l1a_response , L1aHandleIpcCommandReq_1 , DIAG_INFORMATION) diagPrintf ( " L1aHandleIpcCommandReq , opCode=0x%x , l1aCurrentState=%e { L1aState } " , l1aIpcCommandReq_p->opcode , pL1aGlobalEntity->l1aCurrentState ); DIAG_FILTER ( L1A , L1a_Response , L1aIpcResponseEntrance_2 , DIAG_INFORMATION) diagPrintf ( " L1A ( simId=%d ) IPC is received: opcode:%e { plpReports } ( 0x%x ) " , simId , msgOpCode , msgOpCode ); DIAG_FILTER ( L1A , L1a_Response , L1aIpcResponseEntrance_Err , DIAG_INFORMATION) diagPrintf ( " L1A a unwanted IPC message received , %e { plpCommands } " , msgOpCode ); DIAG_FILTER ( L1A , L1a_Response , L1aIpcReportInit_1 , DIAG_INFORMATION) diagPrintf ( " ***** L1A L1aIpcReportInit LteL1aAppId=%d******** " , LteL1aAppId ); //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_sys.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_sys.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; DIAG_FILTER ( L1A , l1a_sys , L1aStartTimer1 , DIAG_INFORMATION) diagPrintf ( " L1aStartTimer:L1aTimerId=%e { L1aTimerId } was started , millseconds=%d , timerId_p-> ( timeoutPeriod=%ld ( ticks ) , myTaskId=%d , timerId=0x%x , userValue=%d ) , currentProcedure=%e { L1aIratProcedure } " , timerId , millseconds , timerId_p->timeoutPeriod , timerId_p->myTaskId , timerId_p->timerId , timerId_p->userValue , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_sys , L1aCheckTimerIsValid_FALSE , DIAG_INFORMATION) diagPrintf ( " L1aCheckTimerIsValid_FALSE: all field of timerId_p is 0 , it has been initialized! " ); DIAG_FILTER ( L1A , l1a_sys , L1aStopTimer1 , DIAG_INFORMATION) diagPrintf ( " L1aStopTimer:L1aTimerId=%e { L1aTimerId } was stopped , timerId_p-> ( timerId=0x%x , myTaskId=%d , userValue=%d ) , KI_TIMER_NOT_RUNNING=0x%x " , timerId , timerId_p->timerId , timerId_p->myTaskId , timerId_p->userValue , 0xffff ); DIAG_FILTER ( L1A , l1a_sys , L1aSetL1PchConfiged_end , DIAG_INFORMATION) diagPrintf ( " L1aSetL1PchConfiged_end: pL1aGlobalEntity->pchConfiged=%d. " , pL1aGlobalEntity->pchConfiged ); DIAG_FILTER ( L1A , l1a_sys , L1aChangePhyState_1 , DIAG_INFORMATION) diagPrintf ( " L1aChangePhyState: simId=%d l1aCurrentState changes from %e { L1aState } to %e { L1aState } " , 0 , pL1aGlobalEntity->l1aCurrentState , newState ); DIAG_FILTER ( L1A , l1a_sys , L1aChangeIratProcedure_1 , DIAG_INFORMATION) diagPrintf ( " L1aChangeIratProcedure: simId=%d currentProcedure changes from %e { L1aIratProcedure } to %e { L1aIratProcedure } " , 0 , pL1aGlobalEntity->iratCurrentProcedure , newProcedure ); DIAG_FILTER ( L1A , l1a_sys , L1aInitialise_enter , DIAG_INFORMATION) diagPrintf ( " L1aInitialise_enter:currentRat:%e { initialRat_te } , isDuallink=%d , isl1aDspDuringSleep=%d " , getRat , isDualLink , l1aDspDuringSleep ); DIAG_FILTER ( L1A , l1a_sys , L1aInitialise_end , DIAG_INFORMATION) diagPrintf ( " L1aInitialise_end " ); DIAG_FILTER ( L1A , l1a_sys , L1aOpcodeBufferNeeded_TRUE , DIAG_INFORMATION) diagPrintf ( " L1aOpcodeBufferNeeded_TRUE:opCode=0x%x , pIratInfo->currentProcedure=%e { L1aIratProcedure } " , opCode , pL1aGlobalEntity->iratCurrentProcedure ); DIAG_FILTER ( L1A , l1a_sys , L1aBufferNeeded_TRUE0 , DIAG_INFORMATION) diagPrintf ( " L1aBufferNeeded_TRUE0: buffer opCode=0x%x due to wifiSeachUseLteGapIsOnGoing. " , opCode ); DIAG_FILTER ( L1A , l1a_sys , L1aBufferNeeded_TRUE1 , DIAG_INFORMATION) diagPrintf ( " L1aBufferNeeded_TRUE1: not LTE RAT or is in IRAT Intermediate State , currentRat:%e { initialRat_te } , opCode=0x%x. " , getRat , opCode ); DIAG_FILTER ( L1A , l1a_sys , L1aAllocDynMemory_enter , DIAG_INFORMATION) diagPrintf ( " L1aAllocDynMemory_enter:size=%ld , address=0x%lx. " , size , buffer ); DIAG_FILTER ( L1A , l1a_sys , L1aFreeDynMemory_enter , DIAG_INFORMATION) diagPrintf ( " L1aFreeDynMemory_enter: address=0x%lx. " , buffer ); DIAG_FILTER ( L1A , l1a_sys , L1aBufferIpcCmd_buffer , DIAG_INFORMATION) diagPrintf ( " L1aBufferIpcCmd_buffer: opCode=0x%x , datalen=%d , now bufferedIPCList.num=%d " , opCode , dataLen , pL1aGlobalEntity->bufferedIPCList.num ); DIAG_FILTER ( L1A , l1a_irat , L1aSendBufferedIPC_enter , DIAG_INFORMATION) diagPrintf ( " L1aSendBufferedIPC_enter:iratCurrentProcedure=%e { L1aIratProcedure } , bufferedIPCList.num=%d " , pL1aGlobalEntity->iratCurrentProcedure , num ); DIAG_FILTER ( L1A , l1a_sys , L1aCheckIfNeedCancelSleep_TRUE , DIAG_INFORMATION) diagPrintf ( " L1aCheckIfNeedCancelSleep_TRUE: currentTimeMs =0x%lx , l1aKeepSleepCancelTime=0x%lx " , currentTimeMs , pL1aGlobalEntity->l1aKeepSleepCancelTime ); //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_var.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_var.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_cal.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_cal.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED ENUM typedef struct LteEcphyComCmdL1LogInfoTag { Int8 commonId ; // CMID_L1_LOG_INFO_IND = 197 Int8 reseved ; Int16 msglength ; // log data length Int32 *msgPtr ; // log data pointer } LteEcphyComCmdL1LogInfo; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; //ICAT EXPORTED STRUCT typedef struct L1aSacLteForceTxRxCmdTag { Int16 option ; /*0: TX start ; 1 : RX start ; 2 : TX / RX stop*/ Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX / RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 16 ] ; } L1aSacLteForceTxRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aSacLteForceRxCmdAckTag { SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB*/ Int16 reserved [ 16 ] ; } L1aSacLteForceRxCmdAck; //ICAT EXPORTED ENUM typedef enum L1aPlatCommonReqTypeTag { L1A_PLAT_COMMON_REQ_IDAC = 0 , L1A_PLAT_COMMON_REQ_MAX , } L1aPlatCommonReqType; //ICAT EXPORTED ENUM typedef enum L1aPlatCommonRspTypeTag { L1A_PLAT_COMMON_RSP_IDAC = 0 , L1A_PLAT_COMMON_RSP_MAX , } L1aPlatCommonRspType; //ICAT EXPORTED STRUCT typedef struct L1aPlatCommonReqTag { L1aPlatCommonReqType reqType ; Int8 lenOfPara ; /*in byte , MAX size is L1A_PLAT_COM_REQ_MAX_SIZE*/ Int8 para [ 0 ] ; /*para [ 0 ] means variable length , can save stack space , infact lenght = lenOfPara*/ } L1aPlatCommonReq; typedef void ( *IPC_CALLBACK_FUNCTION ) ( Int8 *data , Int16 dataLen ) ; typedef void ( *plat_set_diag_none_buff_t ) ( void ) ; DIAG_FILTER ( L1A , L1ACAL , L1aCheckIfNvmIsCorrupted_TRUE , DIAG_INFORMATION) diagPrintf ( " L1aCheckIfNvmIsCorrupted_TRUE: NVM file %s is corrupted. " , filename_ptr ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aDisableD2BeforeCalStart void L1aDisableD2BeforeCalStart ( void ) { // L1cSendBBSleepDisableToDSP ( 0 ) ; // CQ36443 begin { L1CSetRat ( LTE_RAT ) ; } // CQ36443 end ; } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1cEnableD2AfterCalEnd void L1aEnableD2AfterCalEnd ( void ) { // L1cSendBBSleepEnableToDSP ( SLEEP_RF_STANDBY ) ; // not needed.2012.10.31 /* added for Power Management ( PM ) enable flag , begin */ // l1c_power_management_enable = PMIsEnable ( ) ; / * TRUE: PM enabled ; FALSE: PM disabled * / // L1cSendPowerManamgerConfigToDSP ( l1c_power_management_enable , GetVcxoStableTime ( ) , GetPllStableTime ( ) , GetClkGenTime ( ) ) ; // #if defined ( PHS_SW_DEMO_TTC_PM ) // CellularPowerAppEnableD2AfterInit ( ) ; // #endif // CQ36443 begin { L1CSetRat ( NULL_RAT ) ; } // CQ36443 end // Only after initialization of cfTds and informing the DSP the D2 is // enabled , D2 is enabled in Comm platform. // This function enabled D2 in the Comm platform... void PMsetApplication ( void ) ; PMsetApplication ( ) ; // L1cChangePhyState ( STATE_NULL_MODE_SET ) ; // replace by follow function in L1A.2012.10.31 // no need to change , since in calibration mode , the state will always be L1A_STATE_NULL_MODE_SET ; } DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_enter , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp_enter: tableLength ( in word ) =%d , operationId=%e { L1aCalDataOperationId } , " , tableLength , operationId ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_remainLength , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp: remainLength = %d " , remainLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_01 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp_01: read Size!expected:actual:%d , readLength:%d " , numBytes , readLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_03 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp: read Size Error!expected:new:%d ; actual:%d " , readLength , numBytes ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_05 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp:L1A NVM read Size too large!expected:%d ; max:%d ; segement:%d ; index:%d ; length:%d " , 200 , readLength , ipcSegement , ipcLoop , cmd.cmdLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_06 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp:Failed to send Pure Calibration data command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_07 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp:Send Pure Calibration data command , index= %d " , ipcLoop ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_08 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDsp:l1aCalDataSema semaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_12 , DIAG_INFORMATION) diagPrintf ( " Send CAL data command " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDsp_13 , DIAG_INFORMATION) diagPrintf ( " l1aCalDataSemaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleRfTuningToolData_failOpen , DIAG_INFORMATION) diagPrintf ( " L1A failed opening file %s from NVM. " , " LteTdsRfTuning.nvm " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendLteCalExtentionData_size , DIAG_INFORMATION) diagPrintf ( " L1aSendLteCalExtentionData_size: readLength=%d words. " , readLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendLteCalExtentionData_fail , DIAG_INFORMATION) diagPrintf ( " L1aSendLteCalExtentionData_fai: , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDspByShareMemory_enter , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDspByShareMemory_enter: tableLength ( in word ) =%d , operationId=%e { L1aCalDataOperationId } , shareMemoryAdd=0x%lx " , tableLength , operationId , shareMemoryAdd ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDspByShareMemory_03 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDspByShareMemory: read Size Error!expected:new:%d ; actual:%d " , tableLength*2 , numBytes ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDspByShareMemory_data1 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDspByShareMemory: pSharedMemAddress=0x%lx , data=%x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x , %x... " , pSharedMemAddress , pSharedMemAddress [ 0 ] , pSharedMemAddress [ 1 ] , pSharedMemAddress [ 2 ] , pSharedMemAddress [ 3 ] , pSharedMemAddress [ 4 ] , pSharedMemAddress [ 5 ] , pSharedMemAddress [ 6 ] , pSharedMemAddress [ 7 ] , pSharedMemAddress [ 8 ] , pSharedMemAddress [ 9 ] , pSharedMemAddress [ 10 ] , pSharedMemAddress [ 11 ] , pSharedMemAddress [ 12 ] , pSharedMemAddress [ 13 ] , pSharedMemAddress [ 14 ] , pSharedMemAddress [ 15 ] ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDspByShareMemory_06 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDspByShareMemory:Failed to send pure calibration data command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendPureCalibrationDataToDspByShareMemory_08 , DIAG_INFORMATION) diagPrintf ( " L1aSendPureCalibrationDataToDspByShareMemory:l1aCalDataSema semaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandlePaCtrlTableData_failOpen , DIAG_INFORMATION) diagPrintf ( " L1A failed opening file %s from NVM. " , " PA_Ctrl_Table.nvm " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendDefaultTableWithZero_11 , DIAG_INFORMATION) diagPrintf ( " L1aSendDefaultTableWithZero:Failed to send CAL data command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendDefaultTableWithZero_14 , DIAG_INFORMATION) diagPrintf ( " l1aCalDataSemaphore = 0 " ); DIAG_FILTER ( L1A , L1ACAL , getTxPowerBackoffMode_00 , DIAG_INFORMATION) diagPrintf ( " getTxPowerBackoffMode , TxBackoffMode = %d " , l1aTxPowerBackoffMode ); DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffMode_enter , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffMode_enter: TxBackoffMode = %d , currentRat:%e { initialRat_te } " , TxBackoffMode , currentRat ); DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffMode_Lte , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffMode_Lte: pmaxReductionFlag=%d " , l1aPmaxReductionFlag ); DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffMode_01 , DIAG_INFORMATION) diagPrintf ( " Failed to set TX power backoff mode to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffMode_LteNotSend , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffMode_LteNotSend: not send due to l1aCurrentState = 0x%x or pmaxReductionFlag=%d " , l1aGlobalEntity.l1aCurrentState , l1aPmaxReductionFlag ); DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffMode_LWG , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffMode_LWG: call Set23GPmaxReductionFlag ( ) . " ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSetTxPowerBackOffModeExt void L1aSetTxPowerBackOffModeExt ( Boolean type , Int8 value , NetworkMode ratMode , Int8 band ) // CQ00123868 modify , add ratMode and band. { // 2 called by sacCiDevPrimSetPowerBackOffReqFunc ( ) , extention of L1aSetTxPowerBackOffMode ( ) IPC_Command cmd ; Int16 dataBuf [ 4 ] = { 0 } ; IPC_ReturnCode errCode ; initialRat_te currentRat = L1aGtiL1GetRAT ( ) ; Int16 txPowerChangeMode = 0 ; // CQ00122525 add /*CQ00123868 start add*/ Boolean isForBand = 0 ; Boolean isGsmBand = 0 ; /*CQ00123868 end add*/ DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_enter , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffModeExt_enter: currentRat:%e { initialRat_te } , type=%d , value=%d , ratMode=%e { NetworkMode } , band=%d. " , currentRat , type , value , ratMode , band ); /*CQ00117932 start add*/ txPowerReduceValue = value ; /*CQ00117932 end add*/ // 1 notify LTE L1 txPowerChangeMode = ( 1 == type ) ? 3 : 2 ; // CQ00122525 add // 2 refer to EcphyTxPowerBackOffExtReq in l1a_cal.h dataBuf [ 0 ] = txPowerChangeMode ; // POWER_REDUCE_FOR_TEMP ; // CQ00122525 modify dataBuf [ 1 ] = txPowerReduceValue ; // reduce or raise value , relative value to max tx power. /*CQ00123868 start modify*/ if ( NMODE_GSM_UMTS_LTE == ratMode ||NMODE_LTE == ratMode ) { if ( NMODE_LTE == ratMode && 0xFF != band ) // CQ00124187 modify , add 0xFF != band { dataBuf [ 2 ] = 1 ; // only adjust specified lte band. dataBuf [ 3 ] = band ; // the specified band. /*CQ00152985 start add*/ if ( 230 == dataBuf [ 3 ] ) { // if the LTE band is 230 , change it to 57 for L1 dataBuf [ 3 ] = 57 ; } /*CQ00152985 end add*/ // L1aWriteTxPowerAdjustDataToNvm ( type , value , band ) ; // CQ00125059 add , temp disable , enable if needed in future. } else { dataBuf [ 2 ] = 0 ; // adjust for all LTE band. dataBuf [ 3 ] = 0 ; // L1aWriteTxPowerAdjustDataToNvm ( type , value , 0xFF ) ; // CQ00125059 add , temp disable , enable if needed in future. } cmd.opCode = LTE_TX_POWER_BACKOFF_SET_REQ ; cmd.cmdLength = 4 ; cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_LteFail , DIAG_INFORMATION) diagPrintf ( " Failed to set TX power backoff mode to IPC , errCode= %d " , errCode ); } else { ; } } /*CQ00123868 end modify*/ // 1 notify 23 G L1 /*CQ00123868 start modify , rewrite code*/ if ( NMODE_GSM_UMTS_LTE == ratMode ||NMODE_GSM == ratMode ||NMODE_UMTS == ratMode ) { /*CQ00124187 start modify*/ if ( NMODE_GSM_UMTS_LTE == ratMode ) { isForBand = 0 ; // 2 notify 3 g isGsmBand = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_allRat_W , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffModeExt_allRat_W: call Set23GPmaxReductionFlag ( %d , %d , %d , %d , %d ) . " , txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ); Set23GPmaxReductionFlag ( txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ) ; // 2 notify 2 g isGsmBand = 1 ; DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_allRat_G , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffModeExt_allRat_G: call Set23GPmaxReductionFlag ( %d , %d , %d , %d , %d ) . " , txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ); Set23GPmaxReductionFlag ( txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ) ; } else if ( NMODE_GSM == ratMode ) { isForBand = ( 0xFF == band ) ? 0 : 1 ; isGsmBand = 1 ; DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_GsmOnly , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffModeExt_GsmOnly: call Set23GPmaxReductionFlag ( %d , %d , %d , %d , %d ) . " , txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ); // coverity [ overrun-call ] Set23GPmaxReductionFlag ( txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ) ; } else if ( NMODE_UMTS == ratMode ) { isForBand = ( 0xFF == band ) ? 0 : 1 ; isGsmBand = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSetTxPowerBackOffModeExt_WbOnly , DIAG_INFORMATION) diagPrintf ( " L1aSetTxPowerBackOffModeExt_WbOnly: call Set23GPmaxReductionFlag ( %d , %d , %d , %d , %d ) . " , txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ); Set23GPmaxReductionFlag ( txPowerChangeMode , txPowerReduceValue , isForBand , isGsmBand , band ) ; } /*CQ00124187 end modify*/ } /*CQ00123868 end modify*/ } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendTxPowerBackOffData void L1aSendTxPowerBackOffData ( void ) { // 2 called by L1A L1aHandleEcphyClassmarkReq ( ) /*CQ00064248 start modify*/ // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_enter , DIAG_INFORMATION ) / *CQ00080520 del* / // diagPrintf ( " L1aSendTxPowerBackOffData_enter " ) ; IPC_Command cmd ; Int16 dataBuf [ ( 2 * ( 200 -1 ) ) ] = { 0 } ; IPC_ReturnCode errCode ; Int16 numBytes = 0 ; FILE_ID fdiID ; Int16 tableIE [ ( 2 * ( 200 -1 ) ) ] = { 0 } ; Int16* tablePtr ; // ERR_CODE errFdi ; // CQ00157094 del Int16 readLength = 0 ; Int16 index = 0 ; NVM_Header_ts header ; fdiID = FDI_fopen ( " RspDigRfLtepmaxReductionConfig.nvm " , " rb " ) ; if ( fdiID != 0 ) { // add // 4 firstly , read the standard NVM file header /* Note: numBytes == 1 , means read OK , otherwise not OK */ numBytes = FDI_fread ( &header , sizeof ( NVM_Header_ts ) , 1 , fdiID ) ; if ( numBytes != 1 ) { ; /*CQ00080446 add start*/ FDI_fclose ( fdiID ) ; return ; /*CQ00080446 add end*/ } // end // 4 sencondly , read and skip the table for pmaxReductionFlag ( 1 word ) / *CQ00080446 modify* / memset ( tableIE , 0 , sizeof ( tableIE [ ( 2 * ( 200 -1 ) ) ] ) ) ; tablePtr = tableIE ; readLength = 1 ; // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_00 , DIAG_INFORMATION ) / *CQ00080520 del* / // diagPrintf ( " L1aSendTxPowerBackOffData table read skip data , length = %d " , readLength ) ; /*CQ00080329 start del , will never happen*/ /* if ( readLength > LTE_NVM_IE_MAX ) { readLength = LTE_NVM_IE_MAX ; } */ /*CQ00080329 end del , will never happen*/ /*read skip data ( GSM&W bands , unused for LTE , skip it. ) */ numBytes = FDI_fread ( ( void * ) tablePtr , readLength*2 , 1 , fdiID ) ; // errFdi = FDI_ferror ( fdiID ) ; // CQ00157094 del // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_01 , DIAG_INFORMATION ) / *CQ00080520 del* / // diagPrintf ( " L1A NVM TX power backoff read skip Size!expected:actual:%d , readLength:%d , tableIE [ 0 ] =%ld , *tablePtr=%ld " , numBytes , readLength , tableIE [ 0 ] , *tablePtr ) ; // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_02 , DIAG_INFORMATION ) // diagStructPrintf ( " TX power backoff read skip Calibration Table: " , ( void* ) tablePtr , readLength ) ; if ( 1 != numBytes ) // CQ00157094 modify , replace below code. // if ( ( errFdi == ERR_EOF ) || ( errFdi != ERR_NONE ) ) { ; } else { /*record first word: pmaxReductionFlag ( SAR enable flag ) */ l1aPmaxReductionFlag = tableIE [ 0 ] ; DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_pmaxReductionFlag , DIAG_INFORMATION) diagPrintf ( " L1aSendTxPowerBackOffData: pmaxReductionFlag=%d , tableIE [ 0 ] =%d " , l1aPmaxReductionFlag , tableIE [ 0 ] ); if ( 1 == l1aPmaxReductionFlag ) { /*Ignore the GSM&W bands in nvm file , going to read LTE bands*/ memset ( tableIE , 0 , sizeof ( tableIE [ ( 2 * ( 200 -1 ) ) ] ) ) ; tablePtr = tableIE ; readLength = 44 ; // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_04 , DIAG_INFORMATION ) / *CQ00080520 del* / // diagPrintf ( " L1aSendTxPowerBackOffData table read config data , length = %d " , readLength ) ; // if remainLength is too long , read the table several timers , not in one time. /*CQ00079528 start del , will never happen*/ /* if ( readLength > LTE_NVM_IE_MAX ) { readLength = LTE_NVM_IE_MAX ; } */ /*CQ00079528 end del*/ /*read skip data */ numBytes = FDI_fread ( ( void * ) tablePtr , readLength*2 , 1 , fdiID ) ; // errFdi = FDI_ferror ( fdiID ) ; // CQ00157094 del DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_05 , DIAG_INFORMATION) diagPrintf ( " L1A NVM TX power backoff read config Size!expected:actual:%d , readLength:%d " , numBytes , readLength ); // DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_06 , DIAG_INFORMATION ) / *CQ00080520 del* / // diagStructPrintf ( " TX power backoff read config Calibration Table: " , ( void* ) tablePtr , readLength ) ; if ( 1 != numBytes ) // CQ00157094 modify , replace below code. // if ( ( errFdi == ERR_EOF ) || ( errFdi != ERR_NONE ) ) { ; } else { /*send the data to DSP*/ cmd.cmdLength = readLength ; for ( index = 0 ; index< cmd.cmdLength ; index++ ) { dataBuf [ index ] = *tablePtr ; tablePtr++ ; } cmd.opCode = LTE_TX_POWER_BACKOFF_DATA_REQ ; // IPC opcode , LTE_TX_POWER_BACKOFF_DATA_REQ cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { DIAG_FILTER ( L1A , L1ACAL , L1aSendTxPowerBackOffData_08 , DIAG_INFORMATION) diagPrintf ( " Failed to send TX power backoff data command to IPC , errCode= %d " , errCode ); } else { ; /*CQ00080520 modify*/ } } } else { ; } } FDI_fclose ( fdiID ) ; } else { ; } /*CQ00064248 end modify*/ } DIAG_FILTER ( L1A , L1ACAL , L1aSendServeCellIndictionCmd_1 , DIAG_INFORMATION) diagPrintf ( " Failed to send Serve cell indication command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendServeCellIndictionCmd_3 , DIAG_INFORMATION) diagPrintf ( " l1aServeCellIndicationDataSema continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_0 , DIAG_INFORMATION) diagPrintf ( " L1aSendCalibrationData_0: tableStart = %d , tableLength = %d words " , tableStart , tableLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_1 , DIAG_INFORMATION) diagPrintf ( " L1aSendCalibrationData_1: L1A NVM readLength=%d words. " , readLength ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_3 , DIAG_INFORMATION) diagPrintf ( " L1A NVM read Size Error! expected: 1 block with %d bytes ; actual:%d blocks. " , readLength , numBytes ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_4 , DIAG_INFORMATION) diagPrintf ( " Failed to create Cal Data semaphore " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_5 , DIAG_INFORMATION) diagPrintf ( " L1aSendCalibrationData_5: ipcSegement=%d , index=%d. " , ipcSegement , ipcLoop ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_6 , DIAG_INFORMATION) diagPrintf ( " Failed to send CAL data command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_8 , DIAG_INFORMATION) diagPrintf ( " L1aSendCalibrationData_8: L1A semaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_10 , DIAG_INFORMATION) diagPrintf ( " Failed to create Cal Data semaphore " ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_11 , DIAG_INFORMATION) diagPrintf ( " Failed to send APC CAL data command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aSendCalibrationData_13 , DIAG_INFORMATION) diagPrintf ( " L1A semaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalHeader_enter , DIAG_INFORMATION) diagStructPrintf ( " L1aHandleCalHeader_enter:%S { LteNVMNewHeader } " , calibrationHeaderPtr , sizeof ( LteNVMNewHeader ) ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalHeader_OldTable , DIAG_INFORMATION) diagPrintf ( " L1aHandleCalHeader:it is the oldTable:calibrationHeaderPtr->controlDB = 0x%lx " , calibrationHeaderPtr->controlDB ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalHeader_8 , DIAG_INFORMATION) diagPrintf ( " Failed to send CAL control data base command to IPC , errCode= %d " , errCode ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalHeader_10 , DIAG_INFORMATION) diagPrintf ( " control database semaphore continued " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalApcTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalApcTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalAgcTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalAgcTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalAfcTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalAfcTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalTempCompenTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalTempCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalChanCompenTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalChanCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalGainZoneCompenTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalGainZoneCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalPowerDetectorCompenTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalPowerDetectorCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalPowerDetVoltageCompenTableTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalPowerDetVoltageCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalVoltageCompenTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalVoltageCompenTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalCarrierLeakageTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalCarrierLeakageTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalCommonSectionTable_start , DIAG_INFORMATION) diagPrintf ( " Enter L1aHandleCalCommonSectionTable ( ) \n " ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalData_END , DIAG_INFORMATION) diagPrintf ( " L1A finish to sending all calibration data. " ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aNewInitCalData void L1aNewInitCalData ( Boolean forRetToNormal ) // CQ00137662 modify param from void { /*Rewrite by qhli for CQ00059303 begin*/ DIAG_FILTER ( L1A , L1ACAL , L1aNewInitCalData_enter , DIAG_INFORMATION) diagPrintf ( " L1aNewInitCalData_enter. " ); LTECalibFileStatus.calibNvmStatus = NO_CALIB_FILE ; /*CQ00092828 add*/ l1aTaskInitStatus = L1A_TASK_STATUS_INIT_CAL_DATA_START ; // CQ00143418 add L1aHandleCalData ( " LteCalData.nvm " ) ; l1aTaskInitStatus = L1A_TASK_STATUS_INIT_CAL_DATA ; // CQ00143418 add L1aHandleCalData ( " LteCalDataSec.nvm " ) ; /*CQ00064574 , disable CA cal*/ /*CQ00067223 modify*/ l1aTaskInitStatus = L1A_TASK_STATUS_INIT_SEC_CAL_DATA ; // CQ00143418 add // L1aDcxoCalData ( ) ; / *CQ56537* / / *CQ00064574 modify , disable DCXO required by L1* / // L1aHandleDcxoCalData ( ) ; / *CQ00071511 add , replace up L1aDcxoCalData ( ) . disable DCXO until L1 notify enable , Dxco already Done by GPLC , L1A no more need it.* / /*CQ00137662 start add , notify gplc to send DCXO NVM to L1 after cal end return to normal mode*/ if ( 1 == forRetToNormal ) { UpdateDcxoCalibrationDataAndSendItToDsp ( ) ; } /*CQ00137662 end add*/ /*CQ00146303 start add*/ if ( 0 == forRetToNormal ) { // 4 only need send after first power on L1aSendLteCalExtentionData ( ) ; /* CQ00147393 start add */ /* CQ00147393 end add */ } /*CQ00146303 end add*/ /*CQ00120188 start add , enable it if L1 need it.*/ /*CQ00120188 end add*/ /*Rewrite by qhli for CQ00059303 end*/ } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleCalStartAck void L1aHandleCalStartAck ( Int16 *data , Int16 dataLen ) { switch ( l1aInCalMode ) { case L1A_CAL_MODE_STATE_WAIT_START: l1aInCalMode = L1A_CAL_MODE_STATE_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStartAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A cal start ack received " ); break ; case L1A_CAL_MODE_STATE_AFC_WAIT_START: l1aInCalMode = L1A_CAL_MODE_STATE_AFC_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStartAck_2 , DIAG_INFORMATION) diagPrintf ( " L1A AFC cal start ack received " ); break ; case L1A_CAL_MODE_STATE_AGC_WAIT_START: l1aInCalMode = L1A_CAL_MODE_STATE_AGC_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStartAck_3 , DIAG_INFORMATION) diagPrintf ( " L1A AGC cal start ack received " ); break ; case L1A_CAL_MODE_STATE_APC_WAIT_START: l1aInCalMode = L1A_CAL_MODE_STATE_APC_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStartAck_4 , DIAG_INFORMATION) diagPrintf ( " L1A APC cal start ack received " ); break ; default: ; break ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleCalStopAck void L1aHandleCalStopAck ( Int16 *data , Int16 dataLen ) { switch ( l1aInCalMode ) { case L1A_CAL_MODE_STATE_WAIT_STOP: l1aInCalMode = L1A_CAL_MODE_STATE_NOT_START ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStopAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A cal stop ack received , LteAppUnReg:%d " , LteAppUnReg ); break ; case L1A_CAL_MODE_STATE_AFC_WAIT_STOP: l1aInCalMode = L1A_CAL_MODE_STATE_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStopAck_2 , DIAG_INFORMATION) diagPrintf ( " L1A AFC cal stop ack received " ); break ; case L1A_CAL_MODE_STATE_AGC_WAIT_STOP: l1aInCalMode = L1A_CAL_MODE_STATE_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStopAck_3 , DIAG_INFORMATION) diagPrintf ( " L1A AGC cal stop ack received " ); break ; case L1A_CAL_MODE_STATE_APC_WAIT_STOP: l1aInCalMode = L1A_CAL_MODE_STATE_ACTIVE ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalStopAck_4 , DIAG_INFORMATION) diagPrintf ( " L1A APC cal stop ack received " ); break ; default: ; break ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleAfcCalParamCmdAck void L1aHandleAfcCalParamCmdAck ( Int16 *data , Int16 dataLen ) { if ( l1aInCalMode == L1A_CAL_MODE_STATE_AFC_ACTIVE ) { DIAG_FILTER ( L1A , L1ACAL , L1aHandleAfcCalAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A AFC cal ack received " ); } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleApcCalParamCmdAck void L1aHandleApcCalParamCmdAck ( Int16 *data , Int16 dataLen ) { if ( l1aInCalMode == L1A_CAL_MODE_STATE_APC_ACTIVE ) { DIAG_FILTER ( L1A , L1ACAL , L1aHandleApcCalAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A APC cal ack received. " ); } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleAgcCalParamCmdAck void L1aHandleAgcCalParamCmdAck ( Int16 *data , Int16 dataLen ) { L1aAGCCalCmdAckStruct agcCalAck = { 0 } ; // CQ00131445 modify , init to 0 . /*CQ00131445 start add*/ Int16 memcpyLenByte = ( ( ( dataLen << 1 ) ) < ( sizeof ( L1aAGCCalCmdAckStruct ) ) ? ( ( dataLen << 1 ) ) : ( sizeof ( L1aAGCCalCmdAckStruct ) ) ) ; agcCalAck.primaryNvmFeloss = 0x7FFF ; agcCalAck.secondaryNvmFeloss = 0x7FFF ; /*CQ00131445 end add*/ if ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_ACTIVE ) { /*CQ00112750 start modify*/ // data [ 0 ] :operation ID. data [ 1 ] ~ [ n ] parameters. memcpy ( ( void* ) &agcCalAck , ( void* ) ( &data [ 0 ] ) , memcpyLenByte ) ; // CQ00131445 modify from memcpy ( ( void* ) &agcCalAck , ( void* ) ( &data [ 1 ] ) , sizeof ( L1aAGCCalCmdAckStruct ) ) ; /*CQ00112750 end modify*/ // 3 NOTE: should not modify below diag unless L1 / RF tools required , details refer to CQ00112750 & CQ00131445 attachment. DIAG_FILTER ( L1A , L1ACAL , L1aHandleAgcCalAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A AGC cal ack received , primaryfrontEndloss:%ld , secondaryfrontEndloss:%ld , primaryAgcGain:%ld , secondaryAgcGain:%ld , Rsv0:%ld , Rsv1:%ld " , agcCalAck.primaryFrontEndloss , agcCalAck.secondaryFrontEndloss , / *CQ00131445 start modify* / # 6193 " W:\\ltel1a\\LTEL1A\\Src\\l1a_cal.c " agcCalAck.primaryRssiCalcHighPart , agcCalAck.primaryRssiCalcLowPart , agcCalAck.secondaryRssiCalcHighPart , agcCalAck.secondaryRssiCalcLowPart ); /*CQ00131445 end modify*/ /*CQ00119280 start add*/ g_Feloss_Pri = agcCalAck.primaryFrontEndloss ; g_Feloss_Sec = agcCalAck.secondaryFrontEndloss ; g_Feloss_Pri_Nvm = agcCalAck.primaryNvmFeloss ; // CQ00131445 add g_Feloss_Sec_Nvm = agcCalAck.secondaryNvmFeloss ; // CQ00131445 add /*CQ00119280 end add*/ } else { DIAG_FILTER ( L1A , L1ACAL , L1aHandleAgcCalAck_2 , DIAG_INFORMATION) diagPrintf ( " L1A Error!AGC calibration not active when ACK RX!l1aInCalMode:%e { L1aCalModeState } " , l1aInCalMode ); } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandlePowerDetectorResultAck void L1aHandlePowerDetectorResultAck ( Int16 *data , Int16 dataLen ) { L1aPowerDetectorResultAckStruct PowerDetectorResultAck ; if ( 1 /*l1aInCalMode == L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE*/ ) { PowerDetectorResultAck.length= data [ 1 ] ; // data [ 0 ] :operation ID. data [ 1 ] ~ [ n ] parameters. DIAG_FILTER ( L1A , L1ACAL , L1aHandlePowerDetectorResultAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A Power Detector Result Ack received , length:%ld. " , PowerDetectorResultAck.length ); DIAG_FILTER ( L1A , L1ACAL , L1aHandlePowerDetectorResultAck_2 , DIAG_INFORMATION) diagStructPrintf ( " Power Detector Result Array: " , ( void* ) ( data+2 ) , PowerDetectorResultAck.length ); } else { // DIAG_FILTER ( L1A , L1ACAL , L1aHandlePowerDetectorResultAck_2_1 , DIAG_INFORMATION ) // CQ00040137 // diagPrintf ( " L1A Error! Power Detector not active when ACK RX!l1aInCalMode:%e { L1aCalModeState } " , l1aInCalMode ) ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleDigRf4BusLoopbackTestResultAck void L1aHandleDigRf4BusLoopbackTestResultAck ( Int16 *data , Int16 dataLen ) { L1aDigRf4BusLoopbackTestResultAckStruct DigRf4BusLoopbackTestResultAck ; if ( 1 /*l1aInCalMode == L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE*/ ) { /*CQ00112750 start modify*/ // DigRf4BusLoopbackTestResultAck.testResult= data [ 1 ] ; // data [ 0 ] :operation ID. data [ 1 ] ~ [ n ] parameters. // data [ 0 ] :operation ID. data [ 1 ] ~ [ n ] parameters. memcpy ( ( void* ) &DigRf4BusLoopbackTestResultAck , ( void* ) ( &data [ 1 ] ) , sizeof ( L1aDigRf4BusLoopbackTestResultAckStruct ) ) ; /*CQ00112750 end modify*/ DIAG_FILTER ( L1A , L1ACAL , L1aHandleDigRf4BusLoopbackTestResultAck_1 , DIAG_INFORMATION) diagPrintf ( " L1A DigRf4 Bus Loopback Test Result Ack received , testResult:%ld. " , DigRf4BusLoopbackTestResultAck.testResult ); } else { // DIAG_FILTER ( L1A , L1ACAL , L1aHandleDigRf4BusLoopbackTestResultAck_2 , DIAG_INFORMATION ) // diagPrintf ( " L1A Error!DigRf4 Bus Loopback Test not active when ACK RX!l1aInCalMode:%e { L1aCalModeState } " , l1aInCalMode ) ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleSuperCmdAck void L1aHandleSuperCmdAck ( Int16 *data , Int16 dataLen ) { // L1aCalSuperCmdAckStruct L1aCalSuperCmdAck ; // L1aCalSuperCmdAck.isNothing = data [ 1 ] ; // data [ 0 ] :operation ID. data [ 1 ] ~ [ n ] parameters. // memcpy ( &L1aCalSuperCmdAck.reserved [ 0 ] , &data [ 2 ] , LTE_CAL_SUPER_CMD_ACK_RESERVED_MAX*2 ) ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleSuperCmdAck_1 , DIAG_INFORMATION) diagStructPrintf ( " L1A super command ack received:: " , ( void* ) ( data+1 ) , sizeof ( L1aCalSuperCmdAckStruct ) ); diagStructPrintf ( " L1A super command ack received: " , ( void* ) ( data+1 ) , ( dataLen << 1 ) ) ; ; /*Modify for CQ56526 by qhli begin*/ if ( 6 == dataLen ) // it should be rf temperature from L1 if data length is 6 . { rfTemperatureValue = ( ( Int32 ) ( ( * ( data+1 ) ) <<16 ) ) | ( ( Int32 ) ( ( * ( data+2 ) ) ) ) ; rfTemperCelsiusValue = ( Int32 ) ( ( * ( data+3 ) ) ) ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleSuperCmdAck_3 , DIAG_INFORMATION) diagPrintf ( " dataLen=%d , ( data+1 ) =0x%lx , ( data+2 ) =0x%lx , rfTemperatureValue=0x%lx , rfTemperCelsiusValue=0x%lx\n " , dataLen , ( * ( data+1 ) ) , ( * ( data+2 ) ) , rfTemperatureValue , rfTemperCelsiusValue ); } else { DIAG_FILTER ( L1A , L1ACAL , L1aHandleSuperCmdAck_5 , DIAG_INFORMATION) diagPrintf ( " dataLen =%d " , dataLen ); } /*Modify for CQ56526 by qhli end*/ if ( l1aCalSuperCmdSema ) OsaSemaphoreRelease ( l1aCalSuperCmdSema , 0 ) ; } DIAG_FILTER ( L1A , L1ACAL , L1aCalIpcResponseEntrance_1_1 , DIAG_INFORMATION) diagPrintf ( " L1aIpcResponseEntrance_1_1: operatin ID: %ld " , operationId ); DIAG_FILTER ( L1C , L1CCAL , L1aCalIpcResponseEntrance_1 , DIAG_INFORMATION) diagPrintf ( " L1aCalIpcResponseEntrance: operatin ID: %ld " , operationId ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aStartCalMode void L1aStartCalMode ( void ) /*CQ00067223 modify*/ { IPC_ReturnCode ReturnCode ; Int16 plpCalMsgList [ ] = { /*Modify CQ00029610 by qhli 20130306 begin*/ IPC_LTE_CALIBRATION_CONTROL , /*Modify CQ00029610 by qhli 20130306 end*/ IPC_LTE_CALIBRATION_ACK , PLP_MODE_REPORT_OPCODE , // CQ00063641 IPC_LTE_RF_TUNING_SUPER_CMD_ACK /*CQ00064602 add*/ } ; /*CQ00064574 start , disable CA cal*/ /*CQ00064574 end , disable CA cal*/ calScellIndex = 0 ; if ( l1aInCalMode != L1A_CAL_MODE_STATE_NOT_START ) { ; } else { /*CQ00130802 start add*/ InDipChannel = 1 ; gCalNSTOngoing = 1 ; ; /*CQ00130802 end add*/ L1aDisableD2BeforeCalStart ( ) ; /* CQ00023794: Disable D2 Before calibration */ DIAG_FILTER ( L1A , L1ACAL , L1aStartCalMode_2 , DIAG_INFORMATION) diagPrintf ( " L1aStartCalMode:L1A calibration mode init , LteL1aAppId:%d , LteL1aPlpCalAppId:%d. " , LteL1aAppId , LteL1aPlpCalAppId ); // CQ00114707 modify /*unregister LTE L1A normal IPC process*/ if ( LteL1aAppId ) { IPCCommUnRegister ( LteL1aAppId ) ; LteAppUnReg = 1 ; IPCCommApplicationIDReturn ( LteL1aAppId ) ; // CQ00114707 add. } if ( LteL1aPlpCalAppId ) { IPCCommUnRegister ( LteL1aPlpCalAppId ) ; IPCCommApplicationIDReturn ( LteL1aPlpCalAppId ) ; // CQ00114707 add. } /* register to PLP reports */ if ( LteL1aPlpCalAppId == 0 ) /* CQ00008309 If cal mode is repeat for more than 32 times , it will cause assert in the following function */ { LteL1aPlpCalAppId = IPCCommApplicationIDGet ( ) ; } /* Register to IPC */ ReturnCode = IPCCommRegister ( LteL1aPlpCalAppId , L1aCalIpcResponseEntrance , plpCalMsgList , ( sizeof ( plpCalMsgList ) / sizeof ( plpCalMsgList [ 0 ] ) ) , 0 , 0 , 0 , /* Notify Data Buffer Free */ 0 , 0 , 0 , /* Notify Data Channel Free */ 0 , 0 , 0 , /* Notify Data Received */ 0 , 0 , 0 ) ; /* Get Data Pointer */ if ( ReturnCode != IPC_RC_AVAILABLE ) { ; IPCCommApplicationIDReturn ( LteL1aPlpCalAppId ) ; } // CQ00063641 start , first set mode to LTE , otherWise L1 will assert when do calibration from GSM to LTE. geiL1SetRatSetCause ( RAT_CAUSE_NULL ) ; l1aInCalMode = L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF ; /*CQ00065056 modify , set before send 0x02E8 */ L1aSetCmdSetLteReq ( &l1aGlobalEntity ) ; // CQ00063641end } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aStartCalModeR10 void L1aStartCalModeR10 ( void *pData ) { IPC_ReturnCode ReturnCode ; Int16 plpCalMsgList [ ] = { IPC_LTE_CALIBRATION_CONTROL , IPC_LTE_CALIBRATION_ACK , PLP_MODE_REPORT_OPCODE , IPC_LTE_RF_TUNING_SUPER_CMD_ACK } ; /*NOTE: if calScellIndex=1 , incicate SCELL , otherWise ( 0 or random value ) indicate PCELL*/ calScellIndex = ( ( 0 == pData ) ? 0 : ( * ( ( Int16 * ) pData ) ) ) ; ; if ( l1aInCalMode != L1A_CAL_MODE_STATE_NOT_START ) { ; } else { /*CQ00130802 start add*/ InDipChannel = 1 ; gCalNSTOngoing = 1 ; ; /*CQ00130802 end add*/ L1aDisableD2BeforeCalStart ( ) ; DIAG_FILTER ( L1A , L1ACAL , L1aStartCalModeR10_2 , DIAG_INFORMATION) diagPrintf ( " L1aStartCalModeR10:L1A calibration mode init , LteL1aAppId:%d , LteL1aPlpCalAppId:%d. " , LteL1aAppId , LteL1aPlpCalAppId ); // CQ00114707 modify /*unregister LTE L1A normal IPC process*/ if ( LteL1aAppId ) { IPCCommUnRegister ( LteL1aAppId ) ; LteAppUnReg = 1 ; IPCCommApplicationIDReturn ( LteL1aAppId ) ; // CQ00114707 add. } if ( LteL1aPlpCalAppId ) { IPCCommUnRegister ( LteL1aPlpCalAppId ) ; IPCCommApplicationIDReturn ( LteL1aPlpCalAppId ) ; // CQ00114707 add. } /* register to PLP reports */ if ( LteL1aPlpCalAppId == 0 ) { LteL1aPlpCalAppId = IPCCommApplicationIDGet ( ) ; } /* Register to IPC */ ReturnCode = IPCCommRegister ( LteL1aPlpCalAppId , L1aCalIpcResponseEntrance , plpCalMsgList , ( sizeof ( plpCalMsgList ) / sizeof ( plpCalMsgList [ 0 ] ) ) , 0 , 0 , 0 , /* Notify Data Buffer Free */ 0 , 0 , 0 , /* Notify Data Channel Free */ 0 , 0 , 0 , /* Notify Data Received */ 0 , 0 , 0 ) ; /* Get Data Pointer */ if ( ReturnCode != IPC_RC_AVAILABLE ) { ; IPCCommApplicationIDReturn ( LteL1aPlpCalAppId ) ; } // first set mode to LTE , otherWise L1 will assert when do calibration from GSM to LTE. geiL1SetRatSetCause ( RAT_CAUSE_NULL ) ; l1aInCalMode = L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF ; /*set before send 0x02E8 */ L1aSetCmdSetLteReq ( &l1aGlobalEntity ) ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aEndCalMode void L1aEndCalMode ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( l1aInCalMode != L1A_CAL_MODE_STATE_NOT_START ) { /*CQ00130802 start add*/ InDipChannel = 0 ; gCalNSTOngoing = 0 ; ; /*CQ00130802 end add*/ l1aInCalMode = L1A_CAL_MODE_STATE_WAIT_STOP ; dataBuf [ 0 ] = LTE_CAL_CONTROL_CMD_END ; // 1 ; cmd.opCode = IPC_LTE_CALIBRATION_CONTROL ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; DIAG_FILTER ( L1A , L1ACAL , L1aEndCalMode_1 , DIAG_INFORMATION) diagPrintf ( " L1A calibration mode end , l1aInCalMode:%e { L1aCalModeState } " , l1aInCalMode ); /*Modify CQ00029610 by qhli 20130308 begin*/ tempUpdatedPeriod = storedTempUpdatedPeriod ; /*Resume the value.*/ /*Modify CQ00029610 by qhli 20130308 begin*/ } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aStartDigRf4BusLoopbackTest void L1aStartDigRf4BusLoopbackTest ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; l1aInCalMode = L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE ; dataBuf [ 0 ] = LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START ; // 2 ; cmd.opCode = IPC_LTE_CALIBRATION_CONTROL ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; DIAG_FILTER ( L1A , L1ACAL , L1aStartDigRf4BusLoopbackTest_1 , DIAG_INFORMATION) diagPrintf ( " L1aStartDigRf4BusLoopbackTest:send IPC to L1. " ); } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aReturnToNormalMode void L1aReturnToNormalMode ( void ) { if ( LteL1aPlpCalAppId // || LteL1aPlpNstAppId ) { if ( LteL1aPlpCalAppId ) { IPCCommUnRegister ( LteL1aPlpCalAppId ) ; IPCCommApplicationIDReturn ( LteL1aPlpCalAppId ) ; // CQ00114707 add. } /* if ( LteL1aPlpNstAppId ) { IPCCommUnRegister ( LteL1aPlpNstAppId ) ; } */ if ( LteAppUnReg == 1 ) { LteAppUnReg = 0 ; // L1aPlpAdapterInit ( ) ; / *register td l1c again* / L1aIpcReportInit ( ) ; } // DIAG_FILTER ( L1A , L1ACAL , L1aReturnToNormalMode_1 , DIAG_INFORMATION ) // CQ00157094 del , move to below // diagPrintf ( " L1A return to normal mode from calibration mode , l1aInCalMode:%e { L1aCalModeState } . " , l1aInCalMode ) ; L1aNewInitCalData ( 1 ) ; // CQ00137662 modify , add param DIAG_FILTER ( L1A , L1ACAL , L1aReturnToNormalMode_1 , DIAG_INFORMATION) diagPrintf ( " L1A return to normal mode from calibration mode , l1aInCalMode:%e { L1aCalModeState } . " , l1aInCalMode ); /*CQ00023894:Enable D2 After Calibaration End and return to normal mode */ L1aEnableD2AfterCalEnd ( ) ; /*CQ00023894:Enable D2 After Calibaration End and return to normal mode end*/ } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAfcCalStart void L1aAfcCalStart ( Int16 *data , Int16 dataLen ) // datalen in Int16 { Int8 dataIndex=0 ; IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( l1aInCalMode == L1A_CAL_MODE_STATE_ACTIVE ) { l1aInCalMode = L1A_CAL_MODE_STATE_AFC_WAIT_START ; dataBuf [ 0 ] = 0 ; // always indicate operation ID index in cmdData [ 0 ] if ( dataLen > 0 ) { if ( dataLen>=8 ) { // max value 7 due to dataBuf [ 8 ] dataLen = 7 ; } memcpy ( &dataBuf [ 1 ] , data , 2 *dataLen ) ; } cmd.opCode = IPC_LTE_CALIBRATION_AFC ; cmd.cmdLength = 1 +dataLen ; // In Int16 cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAfcCalEnd void L1aAfcCalEnd ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( ( l1aInCalMode == L1A_CAL_MODE_STATE_AFC_WAIT_START ) || ( l1aInCalMode == L1A_CAL_MODE_STATE_AFC_ACTIVE ) ) { l1aInCalMode = L1A_CAL_MODE_STATE_AFC_WAIT_STOP ; dataBuf [ 0 ] = 2 ; cmd.opCode = IPC_LTE_CALIBRATION_AFC ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendAfcCalCmd void L1aSendAfcCalCmd ( L1aAFCCalCmdStruct* l1aAfcCalCmd ) { SignedInt16 k ; IPC_Command cmd ; Int16 dataBuf [ 2 +32 ] = { 0 } ; // CQ00108601 modify from dataBuf [ 8 ] , the first 2 word for 1 and AfcOperationCode. DIAG_FILTER ( L1A , L1ACAL , L1aSendAfcCalCmd_0 , DIAG_INFORMATION) diagStructPrintf ( " L1A AFC Cal Cmd received:%S { L1aAFCCalCmdStruct } " , l1aAfcCalCmd , sizeof ( L1aAFCCalCmdStruct ) ); if ( l1aInCalMode == L1A_CAL_MODE_STATE_AFC_ACTIVE ) { k = l1aAfcCalCmd->AfcOperationCode ; /*k value*/ if ( k > 2581 ) { ; k = 4095 ; } if ( k < -2580 ) { ; k = -2580 ; } dataBuf [ 0 ] = 1 ; dataBuf [ 1 ] = l1aAfcCalCmd->AfcOperationCode ; memcpy ( &dataBuf [ 2 ] , l1aAfcCalCmd->Reserved , 2 *32 ) ; // CQ00108601 modify // dataBuf [ 2 ] = l1cAfcCalCmd->Rsv0 ; // dataBuf [ 3 ] = l1cAfcCalCmd->Rsv1 ; // dataBuf [ 4 ] = l1cAfcCalCmd->Rsv2 ; // dataBuf [ 5 ] = l1cAfcCalCmd->Rsv3 ; // dataBuf [ 6 ] = l1cAfcCalCmd->Rsv4 ; cmd.opCode = IPC_LTE_CALIBRATION_AFC ; cmd.cmdLength = 2 +32 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAgcCalStart void L1aAgcCalStart ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( l1aInCalMode == L1A_CAL_MODE_STATE_ACTIVE ) { l1aInCalMode = L1A_CAL_MODE_STATE_AGC_WAIT_START ; dataBuf [ 0 ] = 0 ; // for agc cal start cmd.opCode = IPC_LTE_CALIBRATION_AGC ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAgcCalEnd void L1aAgcCalEnd ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_WAIT_START ) || ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_ACTIVE ) ) { l1aInCalMode = L1A_CAL_MODE_STATE_AGC_WAIT_STOP ; dataBuf [ 0 ] = 2 ; // for agc cal end cmd.opCode = IPC_LTE_CALIBRATION_AGC ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendAgcCalCmd void L1aSendAgcCalCmd ( L1aAGCCalCmdStruct* l1aAgcCalCmd ) { IPC_Command cmd ; Int16 dataBuf [ 5 +32 ] = { 0 } ; DIAG_FILTER ( L1A , L1ACAL , L1aSendAgcCalCmd_0 , DIAG_INFORMATION) diagStructPrintf ( " L1A AGC Cal Cmd received:%S { L1aAGCCalCmdStruct } " , l1aAgcCalCmd , sizeof ( L1aAGCCalCmdStruct ) ); if ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_ACTIVE ) { dataBuf [ 0 ] = 1 ; // for agc cal cmd dataBuf [ 1 ] = l1aAgcCalCmd->FreqChgFlag ; dataBuf [ 2 ] = l1aAgcCalCmd->CarrierFreq ; dataBuf [ 3 ] = l1aAgcCalCmd->BandWidth ; /* 2010 927 , Rsv0 used as AGCCalMode: 0 : for Normal Cal Mode , 1 : for Specific APT test */ dataBuf [ 4 ] = l1aAgcCalCmd->outputPower ; memcpy ( &dataBuf [ 5 ] , l1aAgcCalCmd->Reserved , 2 *32 ) ; // CQ00108601 modify // dataBuf [ 5 ] = l1cAgcCalCmd->Rsv0 ; // dataBuf [ 6 ] = l1cAgcCalCmd->Rsv1 ; // dataBuf [ 7 ] = l1cAgcCalCmd->Rsv2 ; cmd.opCode = IPC_LTE_CALIBRATION_AGC ; cmd.cmdLength = 5 +32 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aApcCalStart void L1aApcCalStart ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( l1aInCalMode == L1A_CAL_MODE_STATE_ACTIVE ) { l1aInCalMode = L1A_CAL_MODE_STATE_APC_WAIT_START ; dataBuf [ 0 ] = 0 ; cmd.opCode = IPC_LTE_CALIBRATION_APC ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aApcCalEnd void L1aApcCalEnd ( void ) { IPC_Command cmd ; Int16 dataBuf [ 8 ] = { 0 } ; if ( ( l1aInCalMode == L1A_CAL_MODE_STATE_APC_WAIT_START ) || ( l1aInCalMode == L1A_CAL_MODE_STATE_APC_ACTIVE ) ) { l1aInCalMode = L1A_CAL_MODE_STATE_APC_WAIT_STOP ; dataBuf [ 0 ] = 2 ; cmd.opCode = IPC_LTE_CALIBRATION_APC ; cmd.cmdLength = 2 ; cmd.cmdData = dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendApcCalCmd void L1aSendApcCalCmd ( L1aAPCCalCmdStruct* l1aApcCalCmd ) { IPC_Command cmd ; Int16 dataBuf [ 8 +32 ] = { 0 } ; DIAG_FILTER ( L1A , L1ACAL , L1aSendApcCalCmd_0 , DIAG_INFORMATION) diagStructPrintf ( " L1A APC Cal Cmd received:%S { L1aAPCCalCmdStruct } " , l1aApcCalCmd , sizeof ( L1aAPCCalCmdStruct ) ); if ( l1aInCalMode == L1A_CAL_MODE_STATE_APC_ACTIVE ) { dataBuf [ 0 ] = 1 ; dataBuf [ 1 ] = l1aApcCalCmd->StartOutputPower ; /*-75 ~ 29 */ dataBuf [ 2 ] = l1aApcCalCmd->EndOutputPower ; dataBuf [ 3 ] = l1aApcCalCmd->PowerChgDelta ; dataBuf [ 4 ] = l1aApcCalCmd->FreqChgFlag ; dataBuf [ 5 ] = l1aApcCalCmd->CarrierFreq ; dataBuf [ 6 ] = l1aApcCalCmd->PaGainState ; dataBuf [ 7 ] = l1aApcCalCmd->PowerDetectorEnable ; memcpy ( &dataBuf [ 8 ] , l1aApcCalCmd->Reserved , 2 *32 ) ; // CQ00108601 modify // dataBuf [ 8 ] = l1cApcCalCmd->Rsv0 ; cmd.opCode = IPC_LTE_CALIBRATION_APC ; cmd.cmdLength = 8 +32 ; cmd.cmdData = dataBuf ; // DIAG_FILTER ( L1A , L1ACAL , L1aSendApcCalCmd_2 , DIAG_INFORMATION ) // diagPrintf ( " L1A L1aSendApcCalCmd: databuffer 0x%x 0x%x " , dataBuf [ 0 ] , dataBuf [ 1 ] ) ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendCalSuperCmd void L1aSendCalSuperCmd ( L1aCalSuperCmd* l1aCalSuperCmd ) { IPC_Command cmd ; Int16 dataBuf [ 200 ] = { 0 } ; // Int16 dataBufToDSP [ LTE_IPC_IE_MAX ] = { 0 } ; Int16 index ; IPC_ReturnCode errCode ; Int16 tableLength ; Int16 tableIE [ ( 200 -1 ) ] = { 0 } ; Int16* tablePtr ; Int16 remainLength = 0 ; // 2012.600000 .19 for support max table length 2100 . Int16 readLength = 0 ; Boolean notFirstIPC ; Int16* tableTemp ; /*CQ00137756 start add*/ if ( 0 != plat_set_diag_none_buff_ptr ) { ( *plat_set_diag_none_buff_ptr ) ( ) ; } /*CQ00137756 end add*/ if ( ! ( ( l1aCalSuperCmd->msgParaLen <= 4800 ) ) ) { ; // dothing } ; ; DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_1 , DIAG_INFORMATION) diagPrintf ( " L1aSendCalSuperCmd: msgParaLen:%ld ; msgId:%ld. " , l1aCalSuperCmd->msgParaLen , l1aCalSuperCmd->msgId ); tableTemp = l1aCalSuperCmd->para ; tableLength = l1aCalSuperCmd->msgParaLen ; remainLength = tableLength ; notFirstIPC = 0 ; while ( remainLength > 0 ) { memset ( tableIE , 0 , sizeof ( tableIE [ ( 200 -1 ) ] ) ) ; tablePtr = tableIE ; // if remainLength is too long , read the table several timers , not in one time. if ( 0 == notFirstIPC ) { if ( remainLength > ( 200 -1 ) -1 ) { readLength = ( 200 -1 ) -1 ; // minus 1 for l1aCalSuperCmd->msgParaLen ; } else { readLength = remainLength ; // last time to read. } } else { if ( remainLength > ( 200 -1 ) ) { readLength = ( 200 -1 ) ; } else { readLength = remainLength ; // last time to read. } } /*copy and send super cmd IPC one by one , each one ' s max length is LTE_IPC_IE_MAX*/ memcpy ( tablePtr , tableTemp , readLength*2 ) ; DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_4 , DIAG_INFORMATION) diagPrintf ( " L1A NVM super command read Size!expected: total length:%d ; readLength:%d " , tableLength , readLength ); cmd.cmdLength = readLength ; /*not add operation ID , just table length*/ if ( 0 == notFirstIPC ) { if ( ( OSASemaphoreCreate ( &l1aCalSuperCmdSema , 0 , 11 ) ) !=OS_SUCCESS ) /* Create the semaphore */ { ; } /* single IPC */ /*send the data to DSP*/ cmd.cmdLength = readLength+2 ; /*add msgParaLength and msgID*/ dataBuf [ 0 ] = l1aCalSuperCmd->msgParaLen ; dataBuf [ 1 ] = l1aCalSuperCmd->msgId ; for ( index = 2 ; index< cmd.cmdLength ; index++ ) { dataBuf [ index ] = *tablePtr ; tablePtr++ ; } cmd.opCode = IPC_LTE_CALIBRATION_SUPER_CMD ; cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_9 , DIAG_INFORMATION) diagPrintf ( " Failed to send Cal Super Cmd to IPC , errCode= %d " , errCode ); } else { // DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_9_3 , DIAG_INFORMATION ) // diagPrintf ( " Send Cal Super Cmd " ) ; notFirstIPC = 1 ; if ( l1aCalSuperCmdSema ) { OsaSemaphoreAcquire ( l1aCalSuperCmdSema , 0xFFFFFFFF , 0 ) ; /* wait for the ACK from DSP */ OsaSemaphoreDelete ( l1aCalSuperCmdSema , 0 ) ; l1aCalSuperCmdSema = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_8_4 , DIAG_INFORMATION) diagPrintf ( " Cal super cmd semaphore continued " ); } else { ; } } } else // notFirstIPC { /* CQ00015063 begin*/ if ( ( OSASemaphoreCreate ( &l1aCalSuperCmdSema , 0 , 11 ) ) !=OS_SUCCESS ) /* Create the semaphore */ { ; } /* CQ00015063 end*/ /* single IPC */ /*send the data to DSP*/ cmd.cmdLength = readLength+1 ; /*add msgID , not need msgParaLength */ dataBuf [ 0 ] = l1aCalSuperCmd->msgId ; for ( index = 1 ; index< cmd.cmdLength ; index++ ) { dataBuf [ index ] = *tablePtr ; tablePtr++ ; } cmd.opCode = IPC_LTE_CALIBRATION_SUPER_CMD ; cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { ; } else { // DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_9_3 , DIAG_INFORMATION ) // diagPrintf ( " Send Cal Super Cmd command " ) ; if ( l1aCalSuperCmdSema ) { OsaSemaphoreAcquire ( l1aCalSuperCmdSema , 0xFFFFFFFF , 0 ) ; /* wait for the ACK from DSP */ OsaSemaphoreDelete ( l1aCalSuperCmdSema , 0 ) ; l1aCalSuperCmdSema = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSendCalSuperCmd_8_4_9 , DIAG_INFORMATION) diagPrintf ( " Cal super cmd semaphore continued " ); } else { ; } } } remainLength = remainLength - readLength ; tableTemp = tableTemp + readLength ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendRfTuningToolSuperCmd void L1aSendRfTuningToolSuperCmd ( L1aRfTuningToolSuperCmd* l1aRfTuningToolSuperCmd ) { IPC_Command cmd ; Int16 dataBuf [ 200 ] = { 0 } ; Int16 index ; IPC_ReturnCode errCode ; Int16 tableLength ; Int16 tableIE [ ( 200 -1 ) ] = { 0 } ; Int16* tablePtr ; Int16 remainLength = 0 ; Int16 readLength = 0 ; Boolean notFirstIPC ; Int16* tableTemp ; if ( ! ( ( l1aRfTuningToolSuperCmd->msgParaLen <= 4800 ) ) ) { ; // dothing } ; ; DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_1 , DIAG_INFORMATION) diagPrintf ( " L1aSendRfTuningToolSuperCmd: msgParaLen:%ld ; msgId:%ld. " , l1aRfTuningToolSuperCmd->msgParaLen , l1aRfTuningToolSuperCmd->msgId ); tableTemp = l1aRfTuningToolSuperCmd->para ; tableLength = l1aRfTuningToolSuperCmd->msgParaLen ; remainLength = tableLength ; notFirstIPC = 0 ; while ( remainLength > 0 ) { memset ( tableIE , 0 , sizeof ( tableIE [ ( 200 -1 ) ] ) ) ; tablePtr = tableIE ; // if remainLength is too long , read the table several timers , not in one time. if ( 0 == notFirstIPC ) { if ( remainLength > ( 200 -1 ) -1 ) { readLength = ( 200 -1 ) -1 ; // minus 1 for l1aRfTuningToolSuperCmd->msgParaLen ; } else { readLength = remainLength ; // last time to read. } } else { if ( remainLength > ( 200 -1 ) ) { readLength = ( 200 -1 ) ; } else { readLength = remainLength ; // last time to read. } } /*copy and send super cmd IPC one by one , each one ' s max length is LTE_IPC_IE_MAX*/ memcpy ( tablePtr , tableTemp , readLength*2 ) ; DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_4 , DIAG_INFORMATION) diagPrintf ( " L1aSendRfTuningToolSuperCmd read Size!expected: total length:%d ; readLength:%d , notFirstIPC=%d " , tableLength , readLength , notFirstIPC ); cmd.cmdLength = readLength ; /*not add operation ID , just table length*/ if ( 0 == notFirstIPC ) { if ( ( OSASemaphoreCreate ( &l1aRfTuningToolSuperCmdSema , 0 , 11 ) ) !=OS_SUCCESS ) /* Create the semaphore */ { ; } /* single IPC */ /*send the data to DSP*/ cmd.cmdLength = readLength+2 ; /*add msgParaLength and msgID*/ dataBuf [ 0 ] = l1aRfTuningToolSuperCmd->msgParaLen ; dataBuf [ 1 ] = l1aRfTuningToolSuperCmd->msgId ; for ( index = 2 ; index< cmd.cmdLength ; index++ ) { dataBuf [ index ] = *tablePtr ; tablePtr++ ; } cmd.opCode = IPC_LTE_RF_TUNING_SUPER_CMD ; cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_9 , DIAG_INFORMATION) diagPrintf ( " Failed to send RfTuningTool Super Cmd to IPC , errCode= %d " , errCode ); } else { // DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_9_3 , DIAG_INFORMATION ) // diagPrintf ( " Send Cal Super Cmd " ) ; notFirstIPC = 1 ; if ( l1aRfTuningToolSuperCmdSema ) { OsaSemaphoreAcquire ( l1aRfTuningToolSuperCmdSema , 0xFFFFFFFF , 0 ) ; /* wait for the ACK from DSP */ OsaSemaphoreDelete ( l1aRfTuningToolSuperCmdSema , 0 ) ; l1aRfTuningToolSuperCmdSema = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_8_4 , DIAG_INFORMATION) diagPrintf ( " RfTuningTool super cmd semaphore continued " ); } else { ; } } } else // notFirstIPC { /* CQ00015063 begin*/ if ( ( OSASemaphoreCreate ( &l1aRfTuningToolSuperCmdSema , 0 , 11 ) ) !=OS_SUCCESS ) /* Create the semaphore */ { ; } /* CQ00015063 end*/ /* single IPC */ /*send the data to DSP*/ cmd.cmdLength = readLength+1 ; /*add msgID , not need msgParaLength */ dataBuf [ 0 ] = l1aRfTuningToolSuperCmd->msgId ; for ( index = 1 ; index< cmd.cmdLength ; index++ ) { dataBuf [ index ] = *tablePtr ; tablePtr++ ; } cmd.opCode = IPC_LTE_RF_TUNING_SUPER_CMD ; cmd.cmdData = dataBuf ; if ( ( errCode = IPCCommCommandSend ( &cmd , LteL1aAppId ) ) != IPC_RC_AVAILABLE ) { ; } else { // DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_9_3 , DIAG_INFORMATION ) // diagPrintf ( " Send RfTuningTool Super Cmd command " ) ; if ( l1aRfTuningToolSuperCmdSema ) { OsaSemaphoreAcquire ( l1aRfTuningToolSuperCmdSema , 0xFFFFFFFF , 0 ) ; /* wait for the ACK from DSP */ OsaSemaphoreDelete ( l1aRfTuningToolSuperCmdSema , 0 ) ; l1aRfTuningToolSuperCmdSema = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aSendRfTuningToolSuperCmd_8_4_9 , DIAG_INFORMATION) diagPrintf ( " RfTuningTool super cmd semaphore continued " ); } else { ; } } } remainLength = remainLength - readLength ; tableTemp = tableTemp + readLength ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleLteRfTuningToolSuperCmdAck void L1aHandleLteRfTuningToolSuperCmdAck ( Int16 *data , Int16 dataLen ) { /*CQ00071848 start modify*/ Int16 msgLen ; // Int16 msgId ; Int16* msgData ; msgData = data ; msgLen = *msgData++ ; /* In words */ // msgId = *msgData++ ; /*NOTE: dataLen = msgLen + 1 ( msgLen ) + 1 ( msgId ) , L1 need all the data , include msgId.*/ DIAG_FILTER ( L1A , L1ACAL , L1aHandleLteRfTuningSuperCmdAck_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleLteRfTuningSuperCmdAck_enter:dataLen=%d , msgLen=%d , l1aRfTuningToolSuperCmdSema =0x%x " , dataLen , msgLen , l1aRfTuningToolSuperCmdSema ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleLteRfTuningToolSuperCmdAck_printData , DIAG_INFORMATION) diagStructPrintf ( " L1aHandleLteRfTuningToolSuperCmdAck_printData: " , ( void* ) data , ( dataLen << 1 ) ); /*CQ00071848 end modify*/ if ( l1aRfTuningToolSuperCmdSema ) OsaSemaphoreRelease ( l1aRfTuningToolSuperCmdSema , 0 ) ; } DIAG_FILTER ( L1A , L1ACAL , L1aTempReadingCallback_1 , DIAG_INFORMATION) diagPrintf ( " L1A temerature received:%d " , tempValue ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleCalControlCmd_1 , DIAG_INFORMATION) diagPrintf ( " L1A L1aHandleCalControlCmd , operationId:%d " , operationId ); DIAG_FILTER ( L1A , L1ACAL , L1aHandleTimerExpiryCalTempUpdatedPeriod_enter , DIAG_INFORMATION) diagPrintf ( " L1aHandleTimerExpiryCalTempUpdatedPeriod , period: %d " , tempUpdatedPeriod*10 ); DIAG_FILTER ( GRFD , CALIB , RspGet4GCalibrationStatus , DIAG_INFORMATION) diagStructPrintf ( " RspGet4GCalibrationStatus: %S { rfCalibFileStatus_ts } " , ( void * ) <ECalibFileStatus , ( sizeof ( rfCalibFileStatus_ts ) ) ); //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aRfTempQueryReq void L1aRfTempQueryReq ( void ) { /* IPC opcode: LTE_ECPHY_COMMON_REQ ( 0x2E4 ) Int8 commonId: COM_OPID_RF_TEMPERATURE_REQ = 75 Int8 length =0 Int8 dummy [ 2 ] Int8 para [ 0 ] = NULL */ Int16 IpcLength = 0 ; LteEcphyComCmdFormart* pCmdMsg = 0 ; KiOsAllocMemoryEx ( ( sizeof ( LteEcphyComCmdFormart ) ) , ( ( void* * ) &pCmdMsg ) ) ; pCmdMsg->commonId = CMID_RF_TEMPERATURE_REQ ; /*CQ00124960 start modify*/ pCmdMsg->lenOfPara = 1 ; // 0 ; pCmdMsg->para [ 0 ] = 0 ; IpcLength = 5 ; // 4 ; /*CQ00124960 end modify*/ DIAG_FILTER ( L1A , L1aMain , L1aRfTempQuery_1 , DIAG_INFORMATION) diagPrintf ( " L1aRfTempQuery: commonId=%d , lenOfPara=%d " , pCmdMsg->commonId , pCmdMsg->lenOfPara ); L1aSendIpcCmd ( ( Int16* ) pCmdMsg , IpcLength , LTE_ECPHY_COMMON_REQ , LteL1aAppId , &l1aGlobalEntity ) ; KiOsFreeMemory ( ( ( void * * ) &pCmdMsg ) ) ; // CQ00114216 add. } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aRfTempQueryReqExt void L1aRfTempQueryReqExt ( Int8 type ) { /* IPC opcode: LTE_ECPHY_COMMON_REQ ( 0x2E4 ) Int8 commonId: COM_OPID_RF_TEMPERATURE_REQ = 75 Int8 length =1 Int8 dummy [ 2 ] Int8 para [ 0 ] = type , 0 : internal temp ; 1 : external temp */ Int16 IpcLength = 0 ; LteEcphyComCmdFormart* pCmdMsg = 0 ; KiOsAllocMemoryEx ( ( sizeof ( LteEcphyComCmdFormart ) ) , ( ( void* * ) &pCmdMsg ) ) ; pCmdMsg->commonId = CMID_RF_TEMPERATURE_REQ ; pCmdMsg->lenOfPara = 1 ; // 0 ; pCmdMsg->para [ 0 ] = type ; // 0 : internal temp ; 1 : external temp IpcLength = 5 ; // 4 ; DIAG_FILTER ( L1A , L1aMain , L1aRfTempQueryReqExt_1 , DIAG_INFORMATION) diagPrintf ( " L1aRfTempQueryReqExt_1: commonId=%d , pCmdMsg->para [ 0 ] =%d ( 0 : internal temp ; 1 : external temp ) " , pCmdMsg->commonId , pCmdMsg->para [ 0 ] ); L1aSendIpcCmd ( ( Int16* ) pCmdMsg , IpcLength , LTE_ECPHY_COMMON_REQ , LteL1aAppId , &l1aGlobalEntity ) ; KiOsFreeMemory ( ( ( void * * ) &pCmdMsg ) ) ; // CQ00114216 add. } //ICAT EXPORTED FUNCTION - L1A , l1a_phy , L1aAcatTriggerAdcQueryReq void L1aAcatTriggerAdcQueryReq ( void *pData ) // 3 NOTE: pData should be in byte , if byte [ 0 ] =0xFF , old query way ; otherwise , byte [ 0 ] is queryType , byte [ 1 ] is queryCntx. { if ( 0xFF == * ( ( Int8* ) pData ) ) { L1aAdcValueQueryReq ( ) ; } else { Int8 queryType = * ( ( Int8* ) pData ) ; Int8 queryCntx = * ( ( Int8* ) pData+1 ) ; DIAG_FILTER ( L1A , L1ACAL , L1aAcatTriggerAdcQueryReq_enter , DIAG_INFORMATION) diagPrintf ( " L1aAcatTriggerAdcQueryReq_enter: queryType=%d , queryCntx=%d. " , queryType , queryCntx ); L1aAdcValueQueryReqExt ( queryType , queryCntx ) ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAdcValueQueryReq void L1aAdcValueQueryReq ( void ) { /* IPC opcode: LTE_ECPHY_COMMON_REQ ( 0x2E4 ) Int8 commonId: CMID_ADC_VALURE_REQ = 1 Int8 length =0 Int8 dummy [ 2 ] Int8 para [ 0 ] = NULL */ /*CQ00130833 start add , rewrite below code , handle at differ RAT*/ // 3 handle adc Query for differ Rat Int8 simIdTohandle = L1aGetSimIdToHandlePlatQuery ( ) ; Int32 cpaState = L1aGetCpaState ( ) ; initialRat_te ratToHandle = L1aGetRatToHandlePlatQuery ( ) ; L1aCommonCmd commonReq = { 0 } ; L1aCommonCmd *commonReq_p = &commonReq ; if ( LTE_RAT == ratToHandle ) { SignalBuffer signal = kiNullBuffer ; LteEcphyComCmdFormart* pCmdMsg = 0 ; KiOsCreateIntSignal ( SIG_L1A_ECPHY_COM_CMD_REQ , sizeof ( LteEcphyComCmdFormart ) , &signal ) ; KiOsAllocZeroMemoryEx ( ( sizeof ( LteEcphyComCmdFormart ) ) , ( ( void* * ) &pCmdMsg ) ) ; pCmdMsg->commonId = CMID_ADC_VALURE_REQ ; pCmdMsg->lenOfPara = 0 ; DIAG_FILTER ( L1A , L1ACAL , L1aAdcValueQueryReq_LTE , DIAG_INFORMATION) diagPrintf ( " L1aAdcValueQueryReq_LTE: simIdTohandle=%d , commonId=%d , lenOfPara=%d , cpaState=%d. " , simIdTohandle , pCmdMsg->commonId , pCmdMsg->lenOfPara , cpaState ); memcpy ( & ( signal.sig->l1aEcphyComCmdReq ) , pCmdMsg , sizeof ( LteEcphyComCmdFormart ) ) ; L1aSendGkiIntSignal ( LTE_L1A_TASK_ID , &signal ) ; KiOsFreeMemory ( ( ( void * * ) &pCmdMsg ) ) ; } /*CQ00130833 end add , handle at differ RAT*/ } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aAdcValueQueryReqExt void L1aAdcValueQueryReqExt ( Int8 queryType , Int8 queryCntx ) { /* IPC opcode: LTE_ECPHY_COMMON_REQ ( 0x2E4 ) Int8 commonId: CMID_ADC_VALURE_REQ = 1 Int8 lenOfPara =2 Int8 dummy [ 2 ] Int8 para [ 0 ] = queryType Int8 para [ 1 ] = queryCntx queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperatue 2 : voltage and temperatue */ /*CQ00130427 start add , rewirte*/ /* way1: ignore during wifi scan gap way2: not buffer queryReq , need discuss with L1 way3: function call to TASK handle */ /*CQ00130833 start add , rewrite below code , handle at differ RAT*/ // 3 new way to handle adc Query for differ Rat Int8 simIdTohandle = L1aGetSimIdToHandlePlatQuery ( ) ; Int32 cpaState = L1aGetCpaState ( ) ; initialRat_te ratToHandle = L1aGetRatToHandlePlatQuery ( ) ; L1aCommonCmd commonReq = { 0 } ; L1aCommonCmd *commonReq_p = &commonReq ; if ( LTE_RAT == ratToHandle ) { SignalBuffer signal = kiNullBuffer ; LteEcphyComCmdFormart* pCmdMsg = 0 ; KiOsCreateIntSignal ( SIG_L1A_ECPHY_COM_CMD_REQ , sizeof ( LteEcphyComCmdFormart ) , &signal ) ; KiOsAllocZeroMemoryEx ( ( sizeof ( LteEcphyComCmdFormart ) ) , ( ( void* * ) &pCmdMsg ) ) ; pCmdMsg->commonId = CMID_ADC_VALURE_REQ_EXT ; // CQ00128288 modify. // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ pCmdMsg->lenOfPara = 2 ; pCmdMsg->para [ 0 ] = queryType ; pCmdMsg->para [ 1 ] = queryCntx ; DIAG_FILTER ( L1A , L1ACAL , L1aAdcValueQueryReqExt_LTE , DIAG_INFORMATION) diagPrintf ( " L1aAdcValueQueryReqExt_LTE: simIdTohandle=%d , commonId=%d , lenOfPara=%d , queryType=%d , queryCntx=%d , cpaState=%d. " , simIdTohandle , pCmdMsg->commonId , pCmdMsg->lenOfPara , queryType , queryCntx , cpaState ); memcpy ( & ( signal.sig->l1aEcphyComCmdReq ) , pCmdMsg , sizeof ( LteEcphyComCmdFormart ) ) ; L1aSendGkiIntSignal ( LTE_L1A_TASK_ID , &signal ) ; KiOsFreeMemory ( ( ( void * * ) &pCmdMsg ) ) ; } /*CQ00130833 end add , handle at differ RAT*/ // 4 way3 , TBD is: 1 ) L1A at most buffer more than 10 IPCs , other usefull IPC will be discard , so buffer the newest Req. 2 ) need do target test L1aAcatTriggerAdcQueryReq ( ) /*CQ00130427 end add*/ } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendLteForceTxCmd void L1aSendLteForceTxCmd ( L1aSacLteForceTxRxCmd* l1aLteForceTxRxCmd ) { // 4 L1A->L1: 0x383 IPC_Command cmd ; L1aLteForceTxCmd dataBuf = { 0 } ; /*reserved filed will be 0 */ if ( l1aInCalMode == L1A_CAL_MODE_STATE_APC_ACTIVE ) { dataBuf.operationId = 3 ; // 4 indicate force Tx. dataBuf.band = l1aLteForceTxRxCmd->band ; dataBuf.earfcn = l1aLteForceTxRxCmd->earfcn ; dataBuf.power = l1aLteForceTxRxCmd->power ; /*TX power , in 0.100000 dBm unit*/ dataBuf.bandwidth = l1aLteForceTxRxCmd->bandwidth ; cmd.opCode = IPC_LTE_CALIBRATION_APC ; cmd.cmdLength = sizeof ( L1aLteForceTxCmd ) / 2 ; cmd.cmdData = ( unsigned short* ) &dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aSendLteForceRxCmd void L1aSendLteForceRxCmd ( L1aSacLteForceTxRxCmd* sacL1aLteForceTxRxCmd ) { // 4 L1A->L1: 0x382 IPC_Command cmd ; L1aLteForceRxCmd dataBuf = { 0 } ; /*reserved filed will be 0 */ if ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_ACTIVE ) { dataBuf.operationId = 3 ; // 4 indicate force Rx. dataBuf.band = sacL1aLteForceTxRxCmd->band ; dataBuf.earfcn = sacL1aLteForceTxRxCmd->earfcn ; dataBuf.power = sacL1aLteForceTxRxCmd->power ; /*TX power , in 0.100000 dBm unit*/ dataBuf.bandwidth = sacL1aLteForceTxRxCmd->bandwidth ; cmd.opCode = IPC_LTE_CALIBRATION_AGC ; cmd.cmdLength = sizeof ( L1aLteForceRxCmd ) / 2 ; cmd.cmdData = ( unsigned short* ) &dataBuf ; // coverity [ check_return ] IPCCommCommandSend ( &cmd , LteL1aPlpCalAppId ) ; } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , SacL1aForceLteTxRxReq void SacL1aForceLteTxRxReq ( L1aSacLteForceTxRxCmd *sacL1aLteForceTxRxCmd ) { DIAG_FILTER ( L1A , L1ACAL , SacL1aForceLteTxRxReq_enter , DIAG_INFORMATION) diagStructPrintf ( " SacL1aForceLteTxRxReq_enter:%S { L1aSacLteForceTxRxCmd } " , sacL1aLteForceTxRxCmd , sizeof ( L1aSacLteForceTxRxCmd ) ); ; if ( 0 == sacL1aLteForceTxRxCmd->option ) { // 4 TX start if ( L1A_FORCE_TX_RX_NULL == l1aForceTxRxState ) { L1aStartCalMode ( ) ; OsaTaskSleep ( 80 , 0 ) ; // CQ00135761 modify from 50 ms to 250 ms delay for Rx cal start ack // CQ00156480 mod from 250 ms to 400 ms L1aApcCalStart ( ) ; OsaTaskSleep ( 10 , 0 ) ; // 50 ms delay for Rx apc start ack. } L1aSendLteForceTxCmd ( sacL1aLteForceTxRxCmd ) ; l1aForceTxRxState = L1A_FORCE_TX_START ; } else if ( 1 == sacL1aLteForceTxRxCmd->option ) { // 4 RX start if ( L1A_FORCE_TX_RX_NULL == l1aForceTxRxState ) { L1aStartCalMode ( ) ; OsaTaskSleep ( 80 , 0 ) ; // CQ00135761 modify from 50 ms to 250 ms delay for Rx cal start ack // CQ00156480 mod from 250 ms to 400 ms L1aAgcCalStart ( ) ; OsaTaskSleep ( 10 , 0 ) ; // 50 ms delay for Rx agc start ack. } l1aSacLteForceRxCmdAck.rssiPri = 0x7FFF ; l1aSacLteForceRxCmdAck.rssiSec = 0x7FFF ; L1aSendLteForceRxCmd ( sacL1aLteForceTxRxCmd ) ; l1aForceTxRxState = L1A_FORCE_RX_START ; } else if ( 2 == sacL1aLteForceTxRxCmd->option ) { // 4 TX / RX stop if ( L1A_FORCE_TX_START == l1aForceTxRxState ) { L1aApcCalEnd ( ) ; } else if ( L1A_FORCE_RX_START == l1aForceTxRxState ) { L1aAgcCalEnd ( ) ; } else { return ; } OsaTaskSleep ( 10 , 0 ) ; // 50 ms delay for Rx Apc / Agc end ack L1aEndCalMode ( ) ; OsaTaskSleep ( 10 , 0 ) ; // 50 ms delay for Rx End cal ack. L1aReturnToNormalMode ( ) ; l1aForceTxRxState = L1A_FORCE_TX_RX_NULL ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , L1aHandleAgcCalParamCmdAck void L1aHandleAgcCalForceRxAck ( Int16 *data , Int16 dataLen ) { L1aLteForceRxCmdAck l1ForceRxCmdAck = { 0 } ; // save L1 data. Int16 memcpyLenByte = ( ( ( dataLen << 1 ) ) < ( sizeof ( L1aLteForceRxCmdAck ) ) ? ( ( dataLen << 1 ) ) : ( sizeof ( L1aLteForceRxCmdAck ) ) ) ; if ( l1aInCalMode == L1A_CAL_MODE_STATE_AGC_ACTIVE ) { memcpy ( ( void* ) &l1ForceRxCmdAck , ( void* ) ( &data [ 0 ] ) , memcpyLenByte ) ; // copy L1 result to SAC-ERRC share globle. l1aSacLteForceRxCmdAck.rssiPri = l1ForceRxCmdAck.rssiPri ; l1aSacLteForceRxCmdAck.rssiSec = l1ForceRxCmdAck.rssiSec ; DIAG_FILTER ( L1A , L1ACAL , L1aHandleAgcCalForceRxAck_1 , DIAG_INFORMATION) diagStructPrintf ( " L1aHandleAgcCalForceRxAck_1:%S { L1aSacLteForceRxCmdAck } " , &l1aSacLteForceRxCmdAck , sizeof ( L1aSacLteForceRxCmdAck ) ); } else { ; } } //ICAT EXPORTED FUNCTION - LTEL1A , L1ACAL , PlatL1aCommonIpcReq void PlatL1aCommonIpcReq ( L1aPlatCommonReq *commonReq ) { Int8 simIdTohandle = L1aGetSimIdToHandlePlatQuery ( ) ; Int32 cpaState = L1aGetCpaState ( ) ; initialRat_te ratToHandle = L1aGetRatToHandlePlatQuery ( ) ; if ( ! ( commonReq->lenOfPara <= 64 ) ) { ; commonReq->lenOfPara = 64 ; } ; ; if ( LTE_RAT == ratToHandle ) { SignalBuffer signal = kiNullBuffer ; LteEcphyComCmdFormart* pCmdMsg = 0 ; KiOsCreateIntSignal ( SIG_L1A_ECPHY_COM_CMD_REQ , sizeof ( LteEcphyComCmdFormart ) , &signal ) ; KiOsAllocZeroMemoryEx ( ( sizeof ( LteEcphyComCmdFormart ) ) , ( ( void* * ) &pCmdMsg ) ) ; pCmdMsg->commonId = L1aGetPlatCommonReqCommonId ( commonReq ) ; pCmdMsg->lenOfPara = commonReq->lenOfPara ; memcpy ( & ( pCmdMsg->para [ 0 ] ) , & ( commonReq->para [ 0 ] ) , pCmdMsg->lenOfPara ) ; DIAG_FILTER ( L1A , L1ACAL , PlatL1aCommnIpcReq_LTE , DIAG_INFORMATION) diagPrintf ( " PlatL1aCommnIpcReq_LTE: simIdTohandle=%d , commonId=%e { LteEcphyComCmdOpId } , lenOfPara=%d , cpaState=%d. " , simIdTohandle , pCmdMsg->commonId , pCmdMsg->lenOfPara , cpaState ); memcpy ( & ( signal.sig->l1aEcphyComCmdReq ) , pCmdMsg , sizeof ( LteEcphyComCmdFormart ) ) ; L1aSendGkiIntSignal ( LTE_L1A_TASK_ID , &signal ) ; KiOsFreeMemory ( ( ( void * * ) &pCmdMsg ) ) ; } } //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_irat.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_irat.c typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\multi_irat_common.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\multi_irat_common.c typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; DIAG_FILTER ( L1A , MULTI_IRAT_COMMON , multiIratL1SetRAT_1 , DIAG_INFORMATION) diagPrintf ( " multiIratL1SetRAT: set rat:%d , operOwner:%d " , rat , operOwner ); typedef Int8 ApplicationID ; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_task.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_task.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef int ( *__heapprt ) ( void * , char const * , ... ) ; typedef UINT8 ApplicationID ; //ICAT EXPORTED ENUM typedef enum { PM_RC_OK = 0 , PM_RC_FAIL , // General Failure PM_RC_ALREADY_EXISTS // Exit function since required target alrteady exists } PM_ReturnCodeE; typedef void ( *PM_CallbackFuncDDRstateT ) ( BOOL b_DDR_ready ) ; //ICAT EXPORTED ENUM typedef enum { PRM_RC_OK = 0 , PRM_RC_FAIL , // MB _ Added General Fail PRM_RC_RESET_NOT_SUPPORTED , PRM_RC_ERR_CLOCK = -100 , PRM_RC_ERR_FREQ , PRM_RC_ERR_NULL_POINTER , PRM_RC_WAKEUP_NOT_SUPPORTED , PRM_RC_SERVICE_NOT_SUPPORTED , PRM_RC_ERR_CPMU // MB - Arbel Specific on reset on CPMU } PRM_ReturnCodeE; //ICAT EXPORTED ENUM typedef enum { PRM_SRVC_DMA , PRM_SRVC_DVFM , PRM_SRVC_DSSP0_GB , PRM_SRVC_DSSP1_GB , PRM_SRVC_DSSP2_GB , PRM_SRVC_I2C , PRM_SRVC_MSL , PRM_SRVC_RTC , PRM_SRVC_SSP1 , PRM_SRVC_SSP2 , PRM_SRVC_SSP3 , PRM_SRVC_TIMER0_13M , PRM_SRVC_TIMER1_13M , PRM_SRVC_TIMER2_13M_GB , PRM_SRVC_TIMER3_13M_GB , PRM_SRVC_VCTCXO , PRM_SRVC_UART1 , PRM_SRVC_USIM , PRM_SRVC_WB_CIPHER_GB , // DTC PRM_SRVC_USIM2 , /*should be deleted for wujing */ PRM_SRVC_CPA_DDR_HPerf , // Seagull - DDR Request from Harbell ( calls PRM_SRVC_MC_DDR_HPerf if needed ) PRM_SRVC_AIRQ , // Seagull PRM_SRVC_COMM_IPC , // Seagull PRM_SRVC_RESOURCE_IPC , // Seagull PRM_SRVC_AXI_CFG , // Seagull PRM_SRVC_ETB , // Seagull PRM_SRVC_DTC , // Seagull PRM_SRVC_TCU_CTRL , // Seagull PRM_SRVC_ABP_BUS , // Seagull PRM_SRVC_AXI_BUS , // Seagull PRM_LAST_SERVICE=PRM_SRVC_AXI_BUS , // Always update this field. PRM_NUM_OF_SRVCS , PRM_SRVC_NOT_AVAILABLE , PRM_SRVC_MC_DDR_HPerf = PRM_SRVC_NOT_AVAILABLE } PRM_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_WU_SRVC_TIMER , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_SSP , // Harbell PRM_WU_SRVC_SCK , // Harbell PRM_WU_SRVC_WB_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_SLEEP_MODULE = PRM_WU_SRVC_WB_SLEEP_MODULE , PRM_WU_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_WU_SRVC_TD_LTE_SLEEP_MODULE , PRM_WU_SRVC_TCU , // Harbell PRM_WU_SRVC_UART , // Harbell , ( BRN via GPIO ( relevant for RTOS ) ) PRM_WU_SRVC_AC_IPC , // Harbell , BRN ( relevant for RTOS ) PRM_WU_SRVC_RTC , // BRN PRM_WU_SRVC_ROTARY , // BRN PRM_WU_SRVC_USB20_CLIENT , // BRN - Do we need to USB events or not? PRM_WU_SRVC_USB_OTGP2 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_USB_OTGP3 , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_KEYPAD , // BRN PRM_WU_SRVC_USIM , // BRN PRM_WU_SRVC_USB_OTGTX , // BRN - Tx , P2 , P3 ( 3 diferent wakeups ) PRM_WU_SRVC_GPIO , // BRN ( relevant for RTOS ) PRM_WU_SRVC_COMM_WDT , // BRN PRM_WU_SRVC_AC97 , // BRN ored with BSSP wakeup PRM_WU_SRVC_CI2C , // BRN PRM_WU_SRVC_MMC1 , // BRN PRM_WU_SRVC_SDIO1 , // BRN PRM_WU_SRVC_MMC2 , // BRN PRM_WU_SRVC_SDIO2 , // BRN PRM_WU_SRVC_NAND , // BRN PRM_WU_SRVC_PMIC , // BRN ( relevant for RTOS ) PRM_WU_BTUART , // BRN PRM_WU_STUART , // BRN PRM_WU_SRVC_ICP , // BRN - In A0 is ored with UARTs wakeup PRM_WU_SRVC_KEYPAD_ROTARY , // BRN PRM_WU_SRVC_KEYPAD_DIRECT_KEYS , // BRN PRM_WU_SRVC_EXTERNAL_EVENT0 , // BRN - Special case - Driver not defined PRM_WU_SRVC_EXTERNAL_EVENT1 , // BRN - Special case - Driver not defined PRM_WU_SRVC_BSSP1 , // BRN PRM_WU_SRVC_BSSP2 , // BRN PRM_WU_SRVC_BSSP3 , // BRN PRM_WU_SRVC_BSSP4 , // BRN PRM_NUM_OF_WU_SRVCS , PRM_ORED_INT_MSL0 , // For BRM B0 PRM_WU_INVALID_RSRC } PRM_WU_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_NONRETAINED_SRVC_INTC = 0 , // Harbell , BRN PRM_NONRETAINED_SRVC_TIMER , // Harbell , BRN PRM_NONRETAINED_SRVC_SSP , // Harbell , BRN PRM_NONRETAINED_SRVC_DMA , // Harbell , BRN PRM_NONRETAINED_SRVC_I2C , // Harbell , BRN PRM_NONRETAINED_SRVC_WDT , // Harbell , BRN ( ? ) PRM_NONRETAINED_SRVC_IPC , // Harbell PRM_NONRETAINED_SRVC_USIM , // Harbell PRM_NONRETAINED_SRVC_PMIC , // Harbell PRM_NONRETAINED_SRVC_MSL , // Harbell , BRN PRM_NONRETAINED_SRVC_SCK , // Harbell PRM_NONRETAINED_SRVC_WB_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TD_LTE_SLEEP_MODULE , // Harbell PRM_NONRETAINED_SRVC_TCU , // Harbell PRM_NONRETAINED_SRVC_UART , // Harbell , BRN PRM_NONRETAINED_SRVC_HSI , PRM_NONRETAINED_SRVC_GPIO , // BRN PRM_NONRETAINED_SRVC_USB20 , // BRN PRM_NONRETAINED_SRVC_UDC , // BRN PRM_NONRETAINED_SRVC_LCD , // BRN PRM_NONRETAINED_SRVC_DTC , // Seagull PRM_NONRETAINED_SRVC_PMNC , // Seagull PRM_NUM_OF_NONRETAINED_SRVCS , PRM_INVALID_NONRETAINED } PRM_NRS_ServiceE; //ICAT EXPORTED ENUM typedef enum { PRM_FREQ_13MHZ = 0 , PRM_FREQ_26MHZ , PRM_FREQ_52MHZ , PRM_FREQ_78MHZ , PRM_FREQ_89_1MHZ , PRM_FREQ_104MHZ , PRM_FREQ_124_8MHZ , PRM_FREQ_156MHZ , PRM_FREQ_208MHZ , PRM_FREQ_260MHZ , PRM_FREQ_312MHZ , PRM_NUM_OF_FREQS , PRM_INVALID_FREQ } PRM_ServiceFreqE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_FREE=0 , PRM_RSRC_ALLOC } PRM_AllocFreeE; //ICAT EXPORTED ENUM typedef enum { PRM_RSRC_SC_FREE=1 , // resource is free , single client handling PRM_RSRC_SC_BUSY , // resource is busy , single client handling PRM_RSRC_MC_FREE , // resource is free , multi client handling PRM_RSRC_MC_BUSY , // resource is busy , multi client handling PRM_RSRC_NOT_DEFINED // resource is not defined // in this plat / sub-system } PRM_resourceStatusE; typedef void ( *PRM_CallbackFuncWakeupT ) ( PM_PowerStatesE sleepstate , PM_PowerStatesE WUState , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncPrepareT ) ( PM_PowerStatesE statetoprepare ) ; typedef void ( *PRM_CallbackFuncRecoverT ) ( PM_PowerStatesE stateexited , BOOL b_DDR_ready , BOOL b_RegsRetainedState ) ; typedef void ( *PRM_CallbackFuncBeforeIntT ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { DIAG_INT_IFC , DIAG_EXT_IFC } DIAG_IF_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_DEV_USB , DIAG_DEV_SD , DIAG_DEV_FS , DIAG_DEV_UART , DIAG_DEV_SPI , DIAG_DEV_RAM , DIAG_DEV_NONE } DIAG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { SULOG_DEV_USB , SULOG_DEV_SD } SULOG_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { EEH_DUMP_DEV_USB_SD , EEH_DUMP_DEV_SPI } EEH_DUMP_DEV_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_START_PS_OFF , DIAG_START_PS_ON } DIAG_START_PS_TYPE; //ICAT EXPORTED ENUM typedef enum { DIAG_UART_SPEED_921600 , // for CP UART DIAG_UART_SPEED_1842000 , DIAG_UART_SPEED_3000000 , DIAG_UART_DISABLE , DIAG_AP_UART_SPEED_921600 , // for AP UART DIAG_AP_UART_SPEED_1842000 , DIAG_AP_UART_SPEED_3000000 , } DIAG_UART_SPEED_TYPE; //ICAT EXPORTED STRUCT typedef struct { DIAG_IF_TYPE useIntIf ; /* use internal interface or external interface */ DIAG_UART_SPEED_TYPE useHighSpeedUART ; /* high speed UART ( 460800 ) or low speed UART ( 115200 ) */ // DIAG_MEM_SWITCH diagMemSwitch ; BOOL GLFeatureFlag ; DIAG_START_PS_TYPE diagStartPS ; DIAG_DEV_TYPE diagDevType ; SULOG_DEV_TYPE sulogDevType ; EEH_DUMP_DEV_TYPE eehDumpDevType ; // DIAG_MEM_SWITCH diagMemSwitch ; BOOL usbUserMode ; } diagCfgDataS; //ICAT EXPORTED STRUCT typedef struct { UINT32 dbID ; UINT32 filterBitLength ; UINT32 reserved [ 6 ] ; } DIAG_Nvm_Filter_File_Header_t; //ICAT EXPORTED ENUM typedef enum { LOG_DISABLE = 0x0 , UART_LOG_ENABLE = 0x1 , ACAT_LOG_ENABLE = 0x2 } Log_ConfigE; //ICAT EXPORTED ENUM typedef enum { MSG_DISABLE = 0x0 , ACAT_MSG_ENABLE = 0x1 } Msg_ConfigE; //ICAT EXPORTED ENUM typedef enum { RTI_LOG_DISABLE = 0x0 , RTI_DUMP_ENABLE = 0x1 , RTI_TASK_ENABLE = 0x2 , RTI_MIPS_ENABLE = 0x3 } RTI_ConfigE; //ICAT EXPORTED STRUCT typedef struct { Log_ConfigE log_cfg ; Msg_ConfigE msg_cfg ; RTI_ConfigE rti_cfg ; } Log_ConfigS; //ICAT EXPORTED ENUM typedef enum { YMODEM_DISABLE = 0x0 , YMODEM_ENABLE = 0x1 } Ymodem_Dump_config; //ICAT EXPORTED STRUCT typedef struct { Ymodem_Dump_config config ; } Ymodem_Dump_type; //ICAT EXPORTED ENUM typedef enum { /* MIFI driver*/ USB_GENERIC_MIFI_DRIVER = 0x0 , USB_MARVELL_MIFI_DRIVER = 0x1 , USB_ASR_MIFI_DRIVER = 0x2 , USB_GENERIC_MOD_DRIVER = 0x10 , USB_GENERIC_MOD_ECM_DRIVER = 0x12 , USB_DIAG_UAC_DRIVER = 0x14 , /* MBIM driver*/ USB_MBIM_ONLY_DRIVER = 0x40 , USB_MBIM_GENERIC_DRIVER = 0x41 , USB_MBIM_MAX_DRIVER = 0x4F , /* Other driver*/ USB_CDROM_ONLY_DRIVER = 0x91 , USB_CDROM_DIAG_DRIVER = 0x92 , USB_DIAG_ONLY_DRIVER = 0x93 , USB_MODEM_ONLY_DRIVER = 0x94 , USB_MODEM_DIAG_DRIVER = 0x95 , USB_MAX_DRIVER = 0xFF } Usb_driver_typeE; //ICAT EXPORTED ENUM typedef enum { MASS_STORAGE_DISABLE = 0x0 , MASS_STORAGE_ENABLE = 0x1 } MassStorage_ConfigE; //ICAT EXPORTED ENUM typedef enum { USB_AUTO_INSTALL_DISABLE = 0x0 , USB_AUTO_INSTALL_ENABLE = 0x1 } Usb_auto_install_type; //ICAT EXPORTED ENUM typedef enum { USB_OS_DETECT_DISABLE = 0x0 , USB_OS_DETECT_ENABLE = 0x1 } Usb_OS_detect_type; //ICAT EXPORTED STRUCT typedef struct { Usb_driver_typeE usb_driver ; MassStorage_ConfigE mass_storage ; Usb_auto_install_type auto_install ; Usb_OS_detect_type os_detect ; } Usb_DriverS; typedef UINT8 UART_Activity ; //ICAT EXPORTED STRUCT typedef struct /* This is structure of the UART Configuration */ { UART_OpMode opMode ; /* fifo mode , non fifo mode or DMA for basic interface*/ UART_TriggerLevel triggerLevel ; /* the trigger level interrupt on 1 , 8 , 16 , 32 */ UART_BaudRates baudRate ; /* the rate of the transmit and the receive up to 111520 ( default - 9600 ) .*/ UART_WordLen numDataBits ; /* 5 , 6 , 7 , or 8 number of data bits in the UART data frame ( default - 8 ) . */ UART_StopBits stopBits ; /* 1 , 1.500000 or 2 stop bits in the UART data frame ( default - 1 ) . */ UART_ParityTBits parityBitType ; /* Even , Odd or no-parity bit type in the UART data frame ( default - Non ) . */ UART_InterfaceType interfaceType ; /* number of interface that the UART driver supplies ( default - UART_IF_TYPE_L2 ) */ BOOL modemSignal ; /* enable operate modem - TRUE , disable modem - FALSE */ BOOL flowControl ; /* enable Auto flow Control - TRUE , disable Auto flow Control - FALSE */ UINT8 sleepMode ; /* enable sleep mode - TRUE , more fine control - see UARTSleepMode enum */ BOOL auto_baud ; /* enable auto_baud , auto-baud-rate detection within the UART ( default - FALSE ) */ UART_SIRConfigure sirIrDA ; } UARTConfiguration; //ICAT EXPORTED ENUM typedef enum // change the order -1 to + { UART_RC_OK = 1 , /* 1 - no errors */ UART_RC_PORT_NUM_ERROR = -100 , /* -100 - Error in the UART port number */ UART_RC_NO_DATA_TO_READ , /* -99 - Eror no data to read from the FIFO UART */ UART_RC_ILLEGAL_BAUD_RATE , /* -98 - Error in the UART Bayd Rate */ UART_RC_UART_PARITY_BITS_ERROR , /* -97 - Error in parity bit */ UART_RC_UART_ONE_STOP_BIT_ERROR , /* -96 - Error in one stop bit */ UART_RC_ONE_HALF_OR_TWO_STOP_BIT_ERROR , /* -95 - Error in two stop bit */ UART_RC_BAD_INTERFACE_TYPE , /* -94 - Error in the Interface Type */ UART_RC_UART_NOT_AVAILABLE , /* -93 - Error in try to open UART that is open */ UART_RC_NO_DATA_TO_WRITE , /* -92 - Error No data to writ the len = 0 */ UART_RC_NOT_ALL_BYTE_WRITTEN , /* -91 - Error Not all the Byte write to the UART FIFO */ UART_RC_ISR_ALREADY_BIND , /* -90 - Error try to bind ISR for Basic Interface */ UART_RC_WRONG_ISR_UNBIND , /* -89 - Error in the UnBind ISR for Basic Interface */ UART_RC_FIFO_NOT_EMPTY , /* -88 - Error , the UART FIFO not empty */ UART_RC_UART_OPEN , /* -87 - Error try chance the configurr when the UART open */ UART_RC_GPIO_ERR , /* -86 - Error in the Configure of the GPIO */ UART_RC_IRDA_CONFIG_ERR , /* -85 - Illegal IrDA configuration */ UART_RC_TX_DMA_ERR /* -84 - DMA TX Error */ } UART_ReturnCode; typedef void ( *UARTNotifyInterrupt ) ( UART_Port ) ; typedef void ( *UsbLogPrint_t ) ( const char * , ... ) ; typedef void ( *IPCCommNotifyMessageReceived ) ( UINT16 , UINT16 , UINT8 * ) ; typedef void ( *IPCCommNotifyDataReceived ) ( IPC_DataStructReceived * , IPC_CmdMsgParams * ) ; typedef void ( *IPCCommNotifyDataBufferFree ) ( UINT32 * , IPC_DataChannelNumber ) ; typedef void ( *IPCCommNotifyDataChannelFree ) ( IPC_DataChannelNumber ) ; typedef IPC_ReturnCode ( *IPCCommGetDataPointer ) ( UINT32 ** , UINT16 , IPC_DataChannelNumber , IPC_CmdMsgParams* ) ; typedef void ( *IPCCommNotifySelfEventReceived ) ( UINT32 MessageParam ) ; typedef void ( *IPCCommSpyCommandNotification ) ( UINT16 , UINT16 , UINT8* , SpyCmdData* ) ; typedef void ( *IPCErrorIndicationCallBack ) ( IPC_ERROR_INDICATION * ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef unsigned int size_t ; typedef va_list __gnuc_va_list ; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; typedef void ( *CommandAddress ) ( void ) ; typedef char* CommandProto ; typedef const char * DiagDBVersion ; //ICAT EXPORTED ENUM typedef enum { PROTOCOL_TYPE_0 = 0 , MAX_PROTOCOL_TYPES } ProtocolType; //ICAT EXPORTED STRUCT typedef struct { BOOL bEnabled ; // enable / disable the trace logging feature ProtocolType eProtocolType ; // protocol type for communication with ICAT , currently only protocol type 0 is supported UINT16 nMaxDataPerTrace ; // for each trace , what is the maximum data length to accompany the trace , in protocol type 0 , this is relevant only to DSP messages } DiagLoggerDefs; typedef unsigned long long UINT64 ; typedef unsigned long TimeIn32KhzUnit ; typedef void ( *TickCallbackPtr ) ( UINT32 ) ; typedef TimeIn32KhzUnit ( *SuspendCallbackPtr ) ( void ) ; typedef void ( *PrepareTimeCallbackPtr ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_NOT_ASSIGNED = -1 , GPIO_PIN_0 = 0 , GPIO_PIN_1 , GPIO_PIN_2 , GPIO_PIN_3 , GPIO_PIN_4 , GPIO_PIN_5 , GPIO_PIN_6 , GPIO_PIN_7 , GPIO_PIN_8 , GPIO_PIN_9 , GPIO_PIN_10 , GPIO_PIN_11 , GPIO_PIN_12 , GPIO_PIN_13 , GPIO_PIN_14 , GPIO_PIN_15 , GPIO_PIN_16 , GPIO_PIN_17 , GPIO_PIN_18 , GPIO_PIN_19 , GPIO_PIN_20 , GPIO_PIN_21 , GPIO_PIN_22 , GPIO_PIN_23 , GPIO_PIN_24 , GPIO_PIN_25 , GPIO_PIN_26 , GPIO_PIN_27 , GPIO_PIN_28 , GPIO_PIN_29 , GPIO_PIN_30 , GPIO_PIN_31 , GPIO_PIN_32 , GPIO_PIN_33 , GPIO_PIN_34 , GPIO_PIN_35 , GPIO_PIN_36 , GPIO_PIN_37 , GPIO_PIN_38 , GPIO_PIN_39 , GPIO_PIN_40 , GPIO_PIN_41 , GPIO_PIN_42 , GPIO_PIN_43 , GPIO_PIN_44 , GPIO_PIN_45 , GPIO_PIN_46 , GPIO_PIN_47 , GPIO_PIN_48 , GPIO_PIN_49 , GPIO_PIN_50 , GPIO_PIN_51 , GPIO_PIN_52 , GPIO_PIN_53 , GPIO_PIN_54 , GPIO_PIN_55 , GPIO_PIN_56 , GPIO_PIN_57 , GPIO_PIN_58 , GPIO_PIN_59 , GPIO_PIN_60 , GPIO_PIN_61 , GPIO_PIN_62 , GPIO_PIN_63 , GPIO_PIN_64 , GPIO_PIN_65 , GPIO_PIN_66 , GPIO_PIN_67 , GPIO_PIN_68 , GPIO_PIN_69 , GPIO_PIN_70 , GPIO_PIN_71 , GPIO_PIN_72 , GPIO_PIN_73 , GPIO_PIN_74 , GPIO_PIN_75 , GPIO_PIN_76 , GPIO_PIN_77 , GPIO_PIN_78 , GPIO_PIN_79 , GPIO_PIN_80 , GPIO_PIN_81 , GPIO_PIN_82 , GPIO_PIN_83 , GPIO_PIN_84 , GPIO_PIN_85 , GPIO_PIN_86 , GPIO_PIN_87 , GPIO_PIN_88 , GPIO_PIN_89 , GPIO_PIN_90 , GPIO_PIN_91 , GPIO_PIN_92 , GPIO_PIN_93 , GPIO_PIN_94 , GPIO_PIN_95 , GPIO_PIN_96 , GPIO_PIN_97 , GPIO_PIN_98 , GPIO_PIN_99 , GPIO_PIN_100 , GPIO_PIN_101 , GPIO_PIN_102 , GPIO_PIN_103 , GPIO_PIN_104 , GPIO_PIN_105 , GPIO_PIN_106 , GPIO_PIN_107 , GPIO_PIN_108 , GPIO_PIN_109 , GPIO_PIN_110 , GPIO_PIN_111 , GPIO_PIN_112 , GPIO_PIN_113 , GPIO_PIN_114 , GPIO_PIN_115 , GPIO_PIN_116 , GPIO_PIN_117 , GPIO_PIN_118 , GPIO_PIN_119 , GPIO_PIN_120 , GPIO_PIN_121 , GPIO_PIN_122 , GPIO_PIN_123 , GPIO_PIN_124 , GPIO_PIN_125 , GPIO_PIN_126 , GPIO_PIN_127 , GPIO_MAX_AMOUNT_OF_PINS } GPIO_PinNumbers; //ICAT EXPORTED ENUM typedef enum { GPIO_RC_OK = 1 , GPIO_RC_INVALID_PORT_HANDLE = -100 , GPIO_RC_NOT_OUTPUT_PORT , GPIO_RC_NO_TIMER , GPIO_RC_NO_FREE_HANDLE , GPIO_RC_AMOUNT_OUT_OF_RANGE , GPIO_RC_INCORRECT_PORT_SIZE , GPIO_RC_PORT_NOT_ON_ONE_REG , GPIO_RC_INVALID_PIN_NUM , GPIO_RC_PIN_USED_IN_PORT , GPIO_RC_PIN_NOT_FREE , GPIO_RC_PIN_NOT_LOCKED , GPIO_RC_NULL_POINTER , GPIO_RC_PULLED_AND_OUTPUT , GPIO_RC_INCORRECT_PORT_TYPE , GPIO_RC_INCORRECT_TRANSITION_TYPE , GPIO_RC_INCORRECT_DEBOUNCE , GPIO_RC_INCORRECT_DIRECTION , GPIO_RC_INCORRECT_INIT_VALUE , GPIO_RC_INTC_ERROR , GPIO_RC_PRM_ERROR } GPIO_ReturnCode; //ICAT EXPORTED ENUM typedef enum { GPIO_INPUT_PIN = 1 , GPIO_OUTPUT_PIN } GPIO_PinDirection; //ICAT EXPORTED ENUM typedef enum { GPIO_PIN_FREE_FOR_USE = 0 , GPIO_PIN_USE_IN_PORT , GPIO_PIN_USE_IN_INTERRUPT , GPIO_PIN_USE_IN_PORT_WITH_INTERRUPT , GPIO_PIN_LOCKED } GPIO_PinUsage; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinUsage pinUsage ; GPIO_PinDirection direction ; } GPIO_PinStatus; //ICAT EXPORTED ENUM typedef enum { GPIO_INITIAL_VALUE_NO_CHANGE = 0 , GPIO_INITIAL_VALUE_LOW , GPIO_INITIAL_VALUE_HIGH } GPIO_BitInitialValue; //ICAT EXPORTED ENUM typedef enum { GPIO_PULL_UP_DOWN_DISABLE = 0 , GPIO_PULL_UP_ENABLE , GPIO_PULL_DOWN_ENABLE } GPIO_PullUpDown; //ICAT EXPORTED STRUCT typedef struct { GPIO_PinNumbers pinNumber ; GPIO_PinDirection direction ; GPIO_TransitionType transitionType ; GPIO_Debounce debounce ; GPIO_PullUpDown pullUpDown ; GPIO_BitInitialValue initialValue ; } GPIO_PinConfiguration; typedef UINT8 GPIO_PortHandle ; typedef void ( *GPIO_ISR ) ( void ) ; typedef UINT32 INTC_InterruptPriorityTable [ MAX_INTERRUPT_CONTROLLER_SOURCES ] ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *INTC_ISR ) ( INTC_InterruptInfo interruptInfo ) ; typedef void ( *PMCNotifyEventFunc ) ( UINT64 eventRegs ) ; typedef void ( *PMCGetStatusNotifyFunc ) ( UINT16 status ) ; typedef void ( *PMCReadCallback ) ( UINT8 *dataBuffPtr , UINT16 dataSize , UINT16 userId ) ; typedef void ( *PMCWriteCallback ) ( UINT16 dataBuffPtr ) ; typedef void ( *PMCGetGPADCValueNotifyFunc ) ( PMC_adc_reg_t reg , UINT16 value ) ; typedef void ( * ReadingCallback ) ( int ) ; typedef void ( * LTETempReadingCallback ) ( unsigned short , unsigned short ) ; typedef void ( * ReadingCallbackBoth ) ( BOOL , int , int ) ; typedef union { UINT8 autoControl ; UINT8 autoControl2 ; UINT8 manControl ; } adcModeCntrl_t ; typedef union { UINT64 all ; Registers_ts regs ; } PMCEvents ; //ICAT EXPORTED ENUM typedef enum { SHD_POWER_DOWN , SHD_RESET , SHD_GHOST , SHD_SW_ERROR /* EEHandler triggered the reset */ } ShutDownType_te; //ICAT EXPORTED ENUM typedef enum { RR_NORMAL_POWER_ON = 0x00 , // default , not combined with others RR_WATCH_DOG_TIMEOUT = 0x01 , RR_SOFTWARE_GENERATED = 0x02 , RR_CHARGING_BATTERY = 0x04 , RR_LOW_BATTERY = 0x08 , RR_ALARM_POWER_ON = 0x10 , RR_EXT_POWER_ON = 0x20 } StartupReason_te; //ICAT EXPORTED ENUM typedef enum { RE_RTC_ALARM = 0x01 } StartupExtInd_te; typedef BOOL ( *DiagPSisRunningFn ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { IMLConfig_OFF=0 , IMLConfig_2SD , IMLConfig_2DDR , IMLConfig_2HSL_BIGBOARD , IMLConfig_2HSL_SMALLBOARD , IMLConfig_2SU_ENABLE , IMLConfig_2SU_DISABLE } IMLCONFIG_TYPE; //ICAT EXPORTED STRUCT typedef struct { IMLCONFIG_TYPE IMLConfigVal ; UINT8 DataLen ; UINT8 data [ 64 ] ; } IMLCfgDataS; typedef UINT8 CellularPowerAppState ; //ICAT EXPORTED ENUM typedef enum { CPA_NO_ACTIVE_RAT = 0 , CPA_GSM_ACTIVE = 1 , CPA_WCDMA_ACTIVE = 2 , CPA_TDSCDMA_ACTIVE=CPA_WCDMA_ACTIVE , CPA_LTE_ACTIVE = 3 , CPA_GSM_DRX = 4 , CPA_WCDMA_DRX = 5 , CPA_TDSCDMA_DRX=CPA_WCDMA_DRX , CPA_LTE_DRX = 6 , CPA_GSM_OOS = 7 , CPA_WCDMA_OOS = 8 , CPA_TDSCDMA_OOS=CPA_WCDMA_OOS , CPA_LTE_OOS = 9 , NUMBER_OF_CPA_STATES } CellularPowerAppStateEnum; //ICAT EXPORTED ENUM typedef enum { DRAT_COMA_VOTING_MUX_TO_GSM = 0 , DRAT_COMA_VOTING_MUX_TO_WB = 1 , DRAT_COMA_VOTING_MUX_MAX } dratComaVotingMux_te; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellCtrlReqTag { LteNcellMeasCtrl lteNcellMeasCtrl ; // Boolean updateCell ; // need not it , the work is done by L1 , the original usage is: updateCell==TRUE --L1 do scan the total freq , updateCell==FALSE -- L1 does not scan the total freq ; i.e. L1 measures some certain cells of a freq for a period and not measure other cell of this freq ; then L1 will search the totol freq , and may find new cell } EmphMonitorLteNcellCtrlReq; typedef EcphyDrxFindCellReq EmphDrxFindLteCellReq ; typedef EmptySignal EmphDrxAbortFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EmphDrxFindLteCellIndTag { // Boolean cellDetected ; // need ?? /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numElem ; Int8 reserved0 ; Int8 reserved1 ; // currently L1 can not get rsrp / rsrq during find cell , and will set findCellResult [ ] .rsrp / rsrq to 0xFF , but the reported cell is sorted by L1 , and the first cell is the best cell according to L1 rule ; // the max number of cells reported by L1 is 16 currently. LteDetectMeasReportFromL1 findCellResult [ 32 ] ; } EmphDrxFindLteCellInd; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmptySignal EmphSuspendInd ; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; typedef EmptySignal EmphReselectToLteFailReq ; typedef EmptySignal EmphRestoreGsmReq ; typedef EmptySignal EmphRestoreGsmCnf ; typedef EmptySignal HaeAbortNHoldGsmReq ; typedef EmptySignal EmphHoldGsmReq ; typedef EmptySignal EmphHoldGsmCnf ; typedef EmptySignal HaeHoldGsmCnf ; typedef EmptySignal HaeReselectToLteFailCnf ; typedef EcphyNcellBchReq EmphLteSibDecodeReq ; typedef EcphyNcellBchStopReq EmphLteSibDecodeStopReq ; typedef EmphDrxFindLteCellReq plgEmphDrxFindLteCellReq_ts ; typedef EmphDrxFindLteCellInd plgEmphDrxFindLteCellInd_ts ; typedef EmphMonitorLteNcellReq plgEmphMonitorLteNcellReq_ts ; typedef EmphLteNcellMeasureInd plgEmphLteNcellMeasureInd_ts ; typedef EmphLteNcellMeasureInd EmphL1aLteNcellMeasureInd ; typedef EmphLteNcellMeasureInd plgEmphL1aLteNcellMeasureInd_ts ; typedef EmphReselectToGsmReq plgEmphReselectToGsmReq_ts ; typedef EmphHandoverToGsmReq plgEmphHandoverToGsmReq_ts ; typedef EmphLteSibDecodeReq plgEmphLteSibDecodeReq_ts ; typedef EmphLteSibDecodeStopReq plgEmphLteSibDecodeStopReq_ts ; typedef EmphLteSibUnitDataInd plgEmphLteSibUnitDataInd_ts ; typedef EmphDeactivateReq plgEmphDeactivateReq_ts ; typedef EmphRssiScanCnf plgEmphRssiScanCnf_ts ; typedef EmphRssiScanReq plgEmphRssiScanReq_ts ; typedef EmphRssiScanAbortReq plgEmphRssiScanAbortReq_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; typedef GsmBcchDecodeReqDBInWb_ts GsmMultiBcchDecodeReqInLte_ts ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 pad [ 3 ] ; } GsmBcchDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts list [ 40 ] ; } GsmMultiBcchStartDecodeReqInLte_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 NumOfArfcn ; Bool reportList ; UINT8 pad [ 2 ] ; GsmBcchDecodeReqInLte_ts gsmBcchInfoArray [ 40 ] ; } GsmDsdsMultiBcchDecodeReqInLte_ts; typedef void ( *plgEMphDeactivateCnf_t ) ( UINT8 simId ) ; typedef void ( *egiResetBcchInLteIdleStateMachine_t ) ( void ) ; typedef GsmBcchDecodeReqInLte_ts* ( *egiGetBcchInfo_t ) ( void ) ; typedef void ( *egiResetBcchInfo_t ) ( void ) ; typedef void ( *egiBcchGsmDeactivateReq_t ) ( void ) ; typedef void ( *egiSetLtevStartBcchForLte_t ) ( void ) ; typedef void ( *egiSetLtevStartMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiSetLtevUpdateMultiBcchForLte_t ) ( GsmMultiBcchDecodeReqInLte_ts *gsmMultiBcchInfoDB ) ; typedef void ( *egiDsdsBGPlmnSearchMultiBcchDecodeReqForLte_t ) ( GsmDsdsMultiBcchDecodeReqInLte_ts *gsmDsdsMultiBcchInfoDB ) ; typedef void ( *egiL1BgEmphMeasRadioReq_t ) ( Int8 minLength , Int8 purpose ) ; typedef void ( *egiL1BgEmphDetectedCellMeasInd_t ) ( plgEmphDrxFindLteCellInd_ts * indication ) ; typedef void ( *egiL1BgEmphLteAbort_t ) ( void ) ; typedef void ( *egiL1BgEmphLteDetAbort_t ) ( void ) ; typedef void ( *egiGSMPowerup_t ) ( void ) ; typedef void ( *egiGSMInitStaticSharedMemory_t ) ( void ) ; typedef void ( *egiGSMReset_t ) ( void ) ; typedef void ( *egiGSMStartup_t ) ( Bool value ) ; typedef void ( *egiGSMTerminate_t ) ( Bool value ) ; typedef void ( *egiFillGsmMeasParams_t ) ( INT16 SectionIndex , UINT16 * data , UINT16 * num ) ; typedef UINT16 ( *egiGetGainTablesSize_t ) ( UINT8 num ) ; typedef UINT8 ( *egiGetNumOfGainTables_t ) ( void ) ; typedef void ( *egiCopyGainTables_t ) ( UINT16 * data , UINT16 * num ) ; typedef void ( *egiSaveGsmAFCValues_t ) ( void ) ; typedef void ( *egiAfcDacSaveValue_t ) ( UINT16 val ) ; typedef INT16 ( *egiGetSignedAfcDacVal_t ) ( void ) ; typedef void ( *egiGetGsmTimingParams_t ) ( UINT16 * data ) ; typedef UINT16 ( *egiLteL1aGetRspRxPowerUpParamsLteBand_t ) ( UINT16 * data ) ; typedef UINT32 ( *egiFrGetReferenceTime_t ) ( void ) ; typedef void ( *egiSetReferenceTime_t ) ( UINT32 time ) ; typedef lteBchInfo_ts* ( *egiRetreiveLteBchParameters_t ) ( void ) ; typedef void ( *egiSendLteBchDecodeResults_t ) ( plgEmphLteSibUnitDataInd_ts * data ) ; typedef void ( *egiSetEventForBchDecodeTermination_t ) ( void ) ; typedef void ( *egiReportLteFrameNumber_t ) ( void ) ; typedef unsigned long ( *egiDebugGetGsmFrameNumber_t ) ( void ) ; typedef void ( *egiEnableHslLogging_t ) ( short val ) ; typedef INT16 ( *egiCfgCorrectRssi_t ) ( INT16 iArfcn , UINT8 ucBand , INT16 iReportedRssi , INT16 iGainUsed ) ; typedef void ( *egiSetResumeFlag_t ) ( UINT16 val ) ; typedef UINT16 ( *egiGetResumeFlag_t ) ( void ) ; typedef plgEMphDeactivateCnf_t ( *egiRetreiveMphDeactivateCnf_t ) ( void ) ; typedef void ( *egiSetEventForPldGsmCnf_t ) ( void ) ; typedef void ( *egiResetHoTo4GOnGoingFlag_t ) ( void ) ; typedef void ( *egiInitAllRFDSSPsAfterPLPIsReady_t ) ( void ) ; typedef void ( *egiGetFujitsuAFCValues_t ) ( Int16 Slope , Int16 NominalValue ) ; typedef void ( *egiResetUtranMeas_t ) ( void ) ; typedef void ( *amrConnectionEstablish_t ) ( void ) ; typedef void ( *amrConnectionClose_t ) ( void ) ; typedef void ( *ctmNegoReport_t ) ( CtmNegoReport ) ; typedef void ( *amrTxFrame_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *IMSTxFrame_t ) ( IMSFrameInfo_ts* frame ) ; typedef void ( *BitstreamAmrTxFrame_t ) ( BitstreamAmrFrameInfo_ts* frame ) ; typedef void ( *PcmRxTransfer_t ) ( INT16* pData ) ; typedef void ( *amrRxRequest_t ) ( amrFrameInfo_ts* frame ) ; typedef void ( *ims_netEQ_callback ) ( void* data ) ; //ICAT EXPORTED ENUM typedef enum { IDLE_VOLTE , PKT_VOLTE , PCM_VOLTE } Audio_VOLTE_Mode; typedef EmptySignal L1aDsdsSuspendLteReq ; typedef EmptySignal L1aDsdsGsmActivateRsp ; typedef EmptySignal L1adsdsGsmEarlyWakeupReq ; typedef EmptySignal L1aDsdsReselectToUtraFddReq ; typedef EmptySignal L1aDsdsResumeLteReq ; typedef EmptySignal L1aWifiScanGapFinishInd ; typedef EmptySignal L1aWifiScanGapReqInd ; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; typedef Int32 Earfcn ; typedef Int16 Pci ; typedef Int32 TddLteBandsMask ; typedef Int32 FddLteBandsMask ; //ICAT EXPORTED STRUCT typedef struct LteRrcOctetStringTag { Int32 len ; Int8 *pContent ; } LteRrcOctetString; //ICAT EXPORTED STRUCT typedef struct LteCellAccessRelatedInfoTag { Int8 numOfPlmnInList ; LtePlmnIdentityInfo plmnIdentityList [ 6 ] ; // To identify a tracking area within the scope of a PLMN Int16 trackingAreaCode ; // the IE is used to unambiguously identify a cll within a PLMN Int32 cellIdentity ; Boolean cellBarred ; Boolean intraFreqReselAllowed ; Boolean csgIndication ; // Release or set up a closed subscriber group LteRrcConfigType csgIdentityR9ConfigType ; // to identify a Closed Subscriber Group , BIT STRING ( SIZE ( 27 ) ) Int32 csgIdentityR9 ; } LteCellAccessRelatedInfo; //ICAT EXPORTED STRUCT typedef struct LteCellSelectionInfoTag { // To indicate for cell re-selection the required minimum received RSRP level in the ( E-UTRA ) cell. // Corresponds to parameter Qrxlevmin in 36.304000 [ 4 ] . Actual value Qrxlevmin = IE value * 2 [ dBm ] . SignedInt16 originalQrxLevMin ; /*CQ00129293 add*/ SignedInt16 qRxLevMin ; // RHGUO: -140 ~ -44 Boolean qRxLevMinOffsetPresent ; // Parameter Qrxlevminoffset in 36.304000 [ 4 ] . Actual value Qrxlevminoffset = IE value * 2 [ dB ] . If absent , // apply the ( default ) value of 0 [ dB ] for Qrxlevminoffset. Affects the minimum required Rx level in the cell. Int8 qRxLevMinOffset ; } LteCellSelectionInfo; //ICAT EXPORTED ENUM typedef enum LteSibTypeTag { sibType3 , sibType4 , sibType5 , sibType6 , sibType7 , sibType8 , sibType9 , sibType10 , sibType11 , sibType12_v920 , sibType13_v920 , sibType14_v11xy , sibType15_v11x0 , sibType16_v11x0 , sibTypespare2 , sibTypespare1 , sibType2 = 100 , } LteSibType; //ICAT EXPORTED STRUCT typedef struct LteSchedulingInfoTag { Int16 siPeriodicity ; // range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) , unit radio frames Int8 numOfSibMapped ; Int8 sibMappingStart ; } LteSchedulingInfo; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfig; //ICAT EXPORTED STRUCT typedef struct LteSib1InfoTag { LteCellAccessRelatedInfo cellAccessRelatedInfo ; LteCellSelectionInfo cellSelectionInfo ; Boolean pMaxPresent ; // The IE P-Max is used to limit the UE ' s uplink transmission power on a carrier frequency and is used to // calculate the parameter Pcompensation defined in TS 36.304000 SignedInt8 pMax ; // See TS 36.101000 [ 42 , table 5.500000 -1 ] Int8 freqBandIndicator ; Int8 numOfSchedulingInfo ; LteSchedulingInfo schedulingInfoList [ 32 ] ; Int8 numOfAllSibMapping ; LteSibType allSibMapping [ 32 ] ; Int32 availableSibs ; Boolean tddConfigPresent ; LteTddConfig tddConfig ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) , unit ms Int8 siWindowLength ; // Used to judge whether it needs to read other SIBs , Common for all SIBs other than MIB , SIB1 , SIB10 and SIB11 // Value range :0~31 Int8 systemInfoValueTag ; LteRrcConfigType imsEmergencySupportIndicatorPresentType ; Boolean imsEmergencySupportIndicator_r9 ; Boolean cellSelectionInfoV920Present ; SignedInt8 qQualMinR9 ; Boolean qQualMinOffsetR9Present ; Int8 qQualMinOffsetR9 ; // 3 r11 Boolean sib1V8h0Present ; LteSib1V8h0Info sib1V8h0 ; LteRrcConfigType tdd_Config_v1130PresentType ; LteRrcTddConfigv1130 tdd_Config_v1130 ; LteRrcConfigType cellSelectionInfo_v1130PresentType ; LteRrcCellSelectionInfo_v1130 cellSelectionInfo_v1130 ; Boolean freqBandIndicatorPriority_r12Present ; /*CQ00113797 add*/ // r13 Boolean hyperSFNPresent ; Int8 hSFN ; Boolean eDRX_Allowed ; // CQ00126755 } LteSib1Info; typedef Int8 EcphyGsmPhysicalBlock [ 23 ] ; //ICAT EXPORTED STRUCT typedef struct ErrcGeranMultiArfcnListTag { Int16 arfcn ; Int16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Boolean bandIndicator ; } ErrcGeranMultiArfcnList; //ICAT EXPORTED STRUCT typedef struct ErrGeranArfcnInfoTag { Int16 arfcn ; Boolean bandIndicator ; } ErrGeranArfcnInfo; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeReqTag { Int8 numOfArfcns ; Boolean reportList ; // 1 means that L1 / PHY need to report the list of remaining ARFCNs. used when suspending the procedure. ErrcGeranMultiArfcnList list [ 40 ] ; } EcphyGsmMultiBcchDecodeReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmMultiBcchDecodeIndTag { Int8 numOfArfcns ; ErrGeranArfcnInfo list [ 40 ] ; } EcphyGsmMultiBcchDecodeInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBcchDecodeIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; /*GPLC shall ignore gapEnd. it is used in L1A->ERRC*/ Boolean gapEnd ; /*GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC*/ Boolean sim2Deactivated ; Int8 bsic ; } EcphyGsmBcchDecodeInd; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; //ICAT EXPORTED ENUM typedef enum L1aTimerIdTag { L1A_DSP_ALIVE_IND_PERIODIC = 0x01 , // 4 NOTE: it should always be the first timer , otherwise , L1aStopAllTimers will go wrong / *CQ00078770 add note * / L1A_CAL_TEMP_UPDATED_PERIOD , // CQ00114102 add , move from up. /*CQ00089876 start modify*/ /*CQ00089876 end modify*/ L1A_L1_ASSERT_DEBUG_IND , // CQ00111737 add L1A_MAX_TIMERS // 4 NOTE:ALWAYS add a new timer before this element! / *CQ00078770 add * / } L1aTimerId; //ICAT EXPORTED ENUM typedef enum L1aMeasActionTypeTag { MEAS_STOP , MEAS_START } L1aMeasActionType; //ICAT EXPORTED ENUM typedef enum L1aStateTag { // 1 / * L1A STATE NULL * / L1A_STATE_NULL_NORMAL = 0x0000 , /*0x0000*/ L1A_STATE_NULL_WAITING_DEACTIVATE_CNF , L1A_STATE_NULL_WAITING_MODE_SET , L1A_STATE_NULL_MODE_SET , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For P1.Power on*/ L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP , L1A_STATE_NULL_DS_WAITING_MODE_SET , L1A_STATE_NULL_DS_WAITING_LTE_L1_READY_CNF , /*For P2.Power off*/ // L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_DEACTIVATE_CNF , // CQ00111578 del , useless state. L1A_STATE_NULL_DS_WAITING_LTE_POWER_OFF_INACTIVE_RSP , // POWER OFF L1A_STATE_NULL_DS_WAITING_LTE_IRAT_INACTIVE_RSP , // IRAT L1A_STATE_NULL_DS_WAITING_LTE_DEACTIVE_RSP , // wait gliDsdsLteDeactivateRsp ( ) from GPLC. L1A_STATE_NULL_DS_WAITING_SET_LTE_CNF , // CQ00069540 add. EcphyDeactivateReq received after SetLteReq but before setLteCnf L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE , // CQ00069748 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp // L1A_STATE_NULL_DS_DEACTIVE_BEFOR_LTE_ACTIVE_AND_WAITING_INACTIVE_RSP , // CQ00070470 add , receive EcphyDeactiveReq before gliDsdsLteActivateRsp , not set LTE rat and waiting lte power off inactive response // CQ00099422 del /*Modify for CQ00054869 DSDS by qhli end*/ L1A_STATE_NULL_DS_DEACTIVE_AFTER_OOS_WAITING_ACTIVE_RSP , // CQ00113104 add /*For A4 , OOS*/ L1A_STATE_NULL_DS_WAITING_LTE_OOS_INACTIVE_RSP , L1A_STATE_NULL_DS_WAITING_LTE_ACTIVATE_RSP_DISTURB_OOS , // CQ00061457 , start to findcell after LTE OOS deactive. // 1 / * L1A STATE SYNC * / L1A_STATE_SYNC_WAITING_CELL_INFO = 0x0100 , /*0x0100*/ L1A_STATE_SYNC_WAITING_BCH_DATA , L1A_STATE_SYNC_WAITING_RSSI_CNF , // 1 / * L1A STATE IDLE * / L1A_STATE_IDLE_NORMAL = 0x0200 , /*0x0200*/ /*Modify for CQ00054869 DSDS by qhli end*/ // 1 / * L1A STATE CONNECT * / L1A_STATE_CONNECT_NORMAL = 0x0400 , /*0x0400*/ L1A_STATE_CONNECT_NOT_IN_SYNC , L1A_STATE_CONNECT_HO_WAITING_DL_SYNC , } L1aState; //ICAT EXPORTED STRUCT typedef struct L1aServingCellInfoTag { Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ Int16 phyCellId ; } L1aServingCellInfo; //ICAT EXPORTED STRUCT typedef struct L1aScellBchReqTag { Boolean bchOn ; // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs Boolean sib1Needed ; // bit:0000 1 --receive SIB1 immediately , bit:0000 10 --receive SIB1 at the next modification period ; bit:0000 11 --receive SIB1 immediately and also receive SIB1 at the next modification period ; Int8 reserved0 ; // cmni , mod // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } L1aScellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aNcellBchReqTag { Boolean bchOn ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from EUARFCN*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving EWTS and CMAS of neighbor cell only Int32 reqBitmap ; // Si-Window length , value range: ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) Int8 siWindowLength ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; /*CQ00112624 start add*/ /*CQ00112624 end add*/ } L1aNcellBchReq; //ICAT EXPORTED STRUCT typedef struct L1aServingCellMeasTag { L1aMeasActionType action ; // Int8 measId ; /*measurement issue:TBD*/ } L1aServingCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aIntraFreqNCellMeasTag { // The id to synchronize a measurement report and its start point // Int8 measSyncId ; // CQ00113977 del , if need it again , should put in L1aMeasureInfo , and update whenever ecphyMonitorIntraFreq / InterFreq. L1aMeasActionType action ; // The bitmap indicates which cell should be measured , with corresponding bit be set to " 1 " Int32 cellBitMap ; EcphyIntraFreqInfoReq cellInfo ; } L1aIntraFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aInterFreqNCellMeasTag { L1aMeasActionType action ; EcphyMonitorInterFreqCellReq cellMeasReq ; EcphyInterFreqInfoReq cellInfo ; } L1aInterFreqNCellMeas; //ICAT EXPORTED STRUCT typedef struct L1aMeasureInfoTag { L1aServingCellMeas servingCellMeas ; L1aIntraFreqNCellMeas intraFreqNCellMeas ; /* active during IDLE , FACH and DCH */ L1aInterFreqNCellMeas interFreqNCellMeas ; /* active during IDLE , FACH and DCH */ } L1aMeasureInfo; //ICAT EXPORTED STRUCT typedef struct LteL1aSupportedBandEutraTag { // EUTRA band as defined in TS 36.101000 Int8 bandEUTRA ; // If halfDuplex is set to true , only half duplex operation is supported for the band , otherwise full duplex operation is supported. Boolean halfDuplex ; } LteL1aSupportedBandEutra; //ICAT EXPORTED ENUM typedef enum L1aTimerStatusTag { // Not set yet , zero so memset will make invalid L1A_TIMER_INVALID=0 , L1A_TIMER_RUNNING , L1A_TIMER_EXPIRED , L1A_TIMER_STOP } L1aTimerStatus; //ICAT EXPORTED ENUM typedef enum L1aIratProcedureTag { IRAT_NO_PROCEDURE = 0 , /*CQ00104256 start modify*/ IRAT_HO_FROM_UTRATDD_TO_LTE = 1 , IRAT_HO_FROM_LTE_TO_UTRATDD = 2 , IRAT_RESELECT_FROM_UTRATDD_TO_LTE = 3 , IRAT_RESELECT_FROM_LTE_TO_UTRATDD = 4 , IRAT_RESELECT_FROM_GSM_TO_LTE = 5 , IRAT_RESELECT_FROM_LTE_TO_GSM = 6 , IRAT_READ_UTRATDD_BCH_IN_LTE = 7 , IRAT_READ_LTE_BCH_IN_UTRATDD = 8 , IRAT_READ_GSM_BCH_IN_LTE = 9 , // IRAT_READ_LTE_BCH_IN_GSM , // CQ00088046 del IRAT_HO_FROM_UTRAFDD_TO_LTE = 10 , IRAT_HO_FROM_LTE_TO_UTRAFDD = 11 , IRAT_RESELECT_FROM_UTRAFDD_TO_LTE = 12 , IRAT_RESELECT_FROM_LTE_TO_UTRAFDD = 13 , IRAT_READ_UTRAFDD_BCH_IN_LTE = 14 , IRAT_READ_LTE_BCH_IN_UTRAFDD = 15 , /*Irat cgi , begin: CQ00036394*/ IRAT_CGI_READ_UTRATDD_IN_LTE = 16 , IRAT_CGI_READ_UTRAFDD_IN_LTE = 17 , IRAT_CGI_READ_GSM_IN_LTE = 18 , /*Irat cgi , end : CQ00036394*/ /*Modify for CQ00054241 by qhli begin*/ IRAT_FOREGROUND_READ_LTE_BCH_IN_UTRAFDD = 19 , /*Modify for CQ00054241 by qhli end*/ // IRAT_HO_FROM_GSM_TO_LTE , IRAT_HO_FROM_LTE_TO_GSM = 20 , // CQ00059233 /* CQ00071284 begin*/ IRAT_LTE_RSSI_SCAN_IN_GSM , IRAT_LTE_RSSI_SCAN_IN_LTE , // CQ00072303 /* CQ00071284 end*/ IRAT_READ_GSM_MULTIBCCH_IN_LTE , /*CQ00104256 end modify*/ } L1aIratProcedure; //ICAT EXPORTED ENUM typedef enum L1aIratTCgiInESubStateTag { L1aIratTCgiInESubState_Init , L1aIratTCgiInESubState_WaitGapInd , L1aIratTCgiInESubState_GapExpired , L1aIratTCgiInESubState_WaitBchInd , L1aIratTCgiInESubState_BchReceived , L1aIratTCgiInESubState_WaitStopCnf , L1aIratTCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratTCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratWCgiInESubStateTag { L1aIratWCgiInESubState_Init , L1aIratWCgiInESubState_WaitGapInd , L1aIratWCgiInESubState_GapExpired , L1aIratWCgiInESubState_WaitBchInd , L1aIratWCgiInESubState_BchReceived , L1aIratWCgiInESubState_WaitStopCnf , L1aIratWCgiInESubState_RecvEmacResetWaitStopCnf } L1aIratWCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aIratGCgiInESubStateTag { L1aIratGCgiInESubState_Init , L1aIratGCgiInESubState_WaitGapInd , L1aIratGCgiInESubState_GapExpired , L1aIratGCgiInESubState_WaitModeReport , L1aIratGCgiInESubState_WaitGsmSetTimingCnf , L1aIratGCgiInESubState_WaitGsmL1Ready , L1aIratGCgiInESubState_WaitBchInd , L1aIratGCgiInESubState_BchReceived , L1aIratGCgiInESubState_RecvCgiStopReq , L1aIratGCgiInESubState_RecvEmacResetWaitSetModeCnf , // CQ49266 L1aIratGCgiInESubState_PendingCgiStopReq // CQ49266 } L1aIratGCgiInESubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoTSubStateTag { L1A_LTE_HO_TO_TDDUTRA_NULL = 0 , L1A_LTE_HO_TO_TDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_TDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_TDDUTRA_WAIT_REVERT_TO_LTE , // For failure case // CQ54808 by xpeng begin L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_TDDUTRA_WAIT_LTE_ACTIVE_RSP , // CQ54808 by xpeng end } L1aHoLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aHoTtoLSubStateTag { L1A_TDDUTRA_HO_TO_LTE_NULL = 0 , L1A_TDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , // CQ54808 by xpeng begi L1A_TDDUTRA_DS_HO_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng end } L1aHoTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoGSubStateTag { L1A_LTE_RESEL_TO_GSM_NULL = 0 , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_GSM_READY , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_RESEL_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_REVERT_LTE_CNF , L1A_LTE_RESEL_TO_GSM_WAIT_CCO_FAIL_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I5.SIM1 L2G Resel*/ L1A_DS_LTE_RESEL_TO_GSM_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_GSM_ACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_RESEL_TO_GSM_FAIL_WAIT_LTE_ACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoGSubStateTag { L1A_LTE_HO_TO_GSM_NULL = 0 , L1A_LTE_HO_TO_GSM_WAIT_SET_GSM_CNF , L1A_LTE_HO_TO_GSM_WAIT_SET_GMS_TIMING_CNF , L1A_LTE_HO_TO_GSM_WAIT_GSM_READY , L1A_LTE_HO_TO_GSM_WAIT_DEACT_REQ , L1A_LTE_HO_TO_GSM_WAIT_DEACT_CNF , L1A_LTE_HO_TO_GSM_WAIT_REVERT_TO_LTE , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For SIM1 L2G HO*/ L1A_DS_LTE_HO_TO_GSM_WAIT_LTE_INACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_WAIT_GSM_ACTIVATE_RSP , /*CQ00070276 modify , reopen*/ // L1A_DS_LTE_HO_TO_GSM_WAIT_SCHD_GSM_GAP_CANCEL_IND , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_ACTIVE_RSP , L1A_DS_LTE_HO_TO_GSM_REVERT_WAIT_LTE_MODE_CNF , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoGSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectGtoLSubStateTag { L1A_GSM_RESEL_TO_LTE_NULL = 0 , L1A_GSM_RESEL_TO_LTE_WAIT_HOLD_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_REVERT_TO_GSM_CNF , L1A_GSM_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I6.SIM1 G2L Resel*/ L1A_DS_GSM_RESEL_TO_LTE_WAIT_LTE_ACTIVATE_RSP , L1A_DS_GSM_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVATE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectGtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoTSubStateTag { L1A_LTE_RESEL_TO_TDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_TDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_CNF , /*CQ00054808 DSDS by xpeng begin*/ /*For I1.SIM1 L2T Resel*/ L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_LTE_INACTIVATE_RSP , L1A_DS_LTE_RESEL_TO_TDUTRA_L1A_INACTIVATED , L1A_DS_LTE_RESEL_TO_TDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP // CQ63138 /*CQ00054808 DSDS by xpeng end*/ } L1aReselectLtoTSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectTtoLSubStateTag { L1A_TDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_TDUTRA_RESEL_TO_LTE_WAIT_L1C_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_TDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , // CQ54808 by xpeng dsds begin L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_TDUTRA_RESEL_TO_LTE_WAIT_LTE_INACTIVE_RSP , // CQ54808 by xpeng dsds begin } L1aReselectTtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadTddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_TDUTRA = 0xff , // CQ30282 L1A_READ_TDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_TDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_TDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_TDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadTddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInTddUtraSubStateTag { L1A_READ_LTE_BCH_IN_TDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_TDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_WAIT_SET_TDDUTRA_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_TDUTRA_GAP_EXPIRED_WAIT_SET_TDUTRA_CNF } L1aReadLteBchInTddUtraSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmBchInLteSubStateTag { L1A_DRX_SCANNING_GSM = 0xff , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_NULL = 0 , L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_TIMING_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_BCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_BCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_BCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , // CQ30282 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_BCH_IN_LTE_PENDING_GSM_NCELL_BCH_STOP_REQ , // CQ49266 L1A_READ_GSM_BCH_IN_LTE_GAP_EXP_WAIT_SET_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I7.GSM PLMN @ LTE*/ // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_REQ , // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_SCHD_GSM_GAP_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GAP_IND // L1A_DS_READ_GSM_BCH_IN_LTE_WAIT_GSM_NCELL_BCH_IND , // use L1A_READ_GSM_BCH_IN_LTE_WAIT_GSM_BCH_IND L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_BCCH_DECODE_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_STOP_WAIT_SCHD_GSM_GAP_ABORT_CNF , L1A_DS_READ_GSM_BCH_IN_LTE_INTERRUPT_WAIT_SCHD_GSM_GAP_ABORT_CNF /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReadGsmBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadGsmMultiBcchInLteSubStateTag { L1A_READ_GSM_MULTIBCCH_IN_LTE_NULL = 0 , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_FOR_N_BSIC_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GAP_IND , /* CQ00072303 */ L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_GSM_CNF_AFTER_COLLICSION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_GSM_BCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GSM_BCH_RECVED , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_EMPH_DEACT_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_AFTER_COLLISION , L1A_READ_GSM_MULTIBCCH_IN_LTE_WAIT_SET_LTE_CNF_PENDING_MULTIBCCH_IND , L1A_READ_GSM_MULTIBCCH_IN_LTE_GAP_EXP_WAIT_EMPH_DEACT_CNF , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_STOP_REQ , L1A_READ_GSM_MULTIBBCH_IN_LTE_PENDING_GSM_MULTIBCCH_IND } L1aReadGsmMultiBcchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInGsmSubStateTag { LTE_READ_LTE_BCH_IN_GSM_NULL = 0 , LTE_READ_LTE_BCH_IN_GSM_WAIT_GSM_DRX_FIND_CELL_CNF , // CQ00088046 add LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_LTE_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_BCH_IND , LTE_READ_LTE_BCH_IN_GSM_BCH_IND_RECVED , LTE_READ_LTE_BCH_IN_GSM_WAIT_STOP_CNF , LTE_READ_LTE_BCH_IN_GSM_WAIT_SET_GSM_CNF , LTE_READ_LTE_BCH_IN_GSM_ABORTING } L1aReadLteBchInGsmSubState; //ICAT EXPORTED ENUM typedef enum L1aHoLtoWSubStateTag { L1A_LTE_HO_TO_FDDUTRA_NULL = 0 , L1A_LTE_HO_TO_FDDUTRA_WAIT_HO_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_REQ , L1A_LTE_HO_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_HO_TO_FDDUTRA_WAIT_REVERT_TO_LTE , // For failure case /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I3.SIM1 L2W Handover*/ L1A_LTE_DS_HO_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_MODE_CNF , L1A_LTE_DS_HO_TO_FDDUTRA_REVERT_WAIT_LTE_ACTIVE_RSP /*Modify for CQ00054869 DSDS by qhli end*/ } L1aHoLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aHoWtoLSubStateTag { L1A_FDDUTRA_HO_TO_LTE_NULL = 0 , L1A_FDDUTRA_HO_TO_LTE_WAIT_DEACT_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*I4.SIM1 W2L Handover*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ L1A_DS_FDDUTRA_HO_TO_LTE_WAIT_LTE_INACTIVATE_RSP // CQ00075351 } L1aHoWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectLtoWSubStateTag { L1A_LTE_RESEL_TO_FDDUTRA_NULL = 0 , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_DEACT_CNF , L1A_LTE_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ /*For I1.SIM1 L2W resel.*/ L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_LTE_INACTIVE_RSP , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_CNF , L1A_LTE_DS_RESEL_TO_FDDUTRA_WAIT_REVERT_LTE_ACTIVE_RSP , /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectLtoWSubState; //ICAT EXPORTED ENUM typedef enum L1aReselectWtoLSubStateTag { L1A_FDDUTRA_RESEL_TO_LTE_NULL = 0 , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_HAW_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_SET_LTE_CNF , L1A_FDDUTRA_RESEL_TO_LTE_WAIT_DEACT_LTE_CNF , /*Modify for CQ00054869 DSDS by qhli begin*/ L1A_DS_FDDUTRA_RESEL_TO_LTE_WAIT_LTE_ACTIVE_RSP , L1A_DS_FDDUTRA_RESEL_TO_LTE_FAIL_WAIT_LTE_INACTIVE_RSP , // removed by CQ00065279 /*Modify for CQ00054869 DSDS by qhli end*/ } L1aReselectWtoLSubState; //ICAT EXPORTED ENUM typedef enum L1aReadFddUtraBchInLteSubStateTag { L1A_DRX_SCANNING_FDDUTRA = 0xff , // CQ00032218 L1A_READ_FDDUTRA_BCH_IN_LTE_NULL =0 , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_GAP_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_BCH_IND , L1A_READ_FDDUTRA_BCH_IN_LTE_BCH_IND_RECVED , L1A_READ_FDDUTRA_BCH_IN_LTE_WAIT_STOP_CNF , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED , L1A_READ_FDDUTRA_BCH_IN_LTE_GAP_EXPIRED_WAIT_STOP_CNF } L1aReadFddUtraBchInLteSubState; //ICAT EXPORTED ENUM typedef enum L1aReadLteBchInFddUtraSubStateTag { L1A_READ_LTE_BCH_IN_FDDUTRA_NULL =0 , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_BCH_IND , L1A_READ_LTE_BCH_IN_FDDUTRA_BCH_IND_RECVED , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_FDDUTRA_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_STOP_CNF , L1A_READ_LTE_BCH_IN_FDDUTRA_GAP_EXPIRED_WAIT_SET_FDDUTRA_CNF , /*Modify for CQ00054241 by qhli begin*/ // L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_NULL , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_HAW_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_SET_LTE_CNF , L1A_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_DEACTIVE_CNF , /*Modify for CQ00054241 by qhli end*/ L1A_DS_FOREGROUND_READ_LTE_BCH_IN_FDDUTRA_WAIT_LTE_ACTIVE_RSP /*CQ00075509 add*/ } L1aReadLteBchInFddUtraSubState; typedef Int32 L1AFrameTicks ; //ICAT EXPORTED ENUM typedef enum L1aTaskInitStatusTag { L1A_TASK_STATUS_INIT_NULL =0x0 , L1A_TASK_STATUS_INIT_START , L1A_TASK_STATUS_INIT_L1A_GOLBAL , L1A_TASK_STATUS_INIT_IPC_REPORT , L1A_TASK_STATUS_INIT_CAL_DATA_START , L1A_TASK_STATUS_INIT_CAL_DATA , L1A_TASK_STATUS_INIT_SEC_CAL_DATA , // L1A_TASK_STATUS_INIT_RF_TUNING_DATA , // CQ00146303 del , useless // L1A_TASK_STATUS_INIT_PA_CTRL_DATA , L1A_TASK_STATUS_INIT_DONE , L1A_TASK_STATUS_INIT_MAX } L1aTaskInitStatus; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum L1aSleepModeTag { L1A_SLEEP_RF_STANDBY , L1A_SLEEP_DRX_MODE , L1A_SLEEP_RF_ON , L1A_SLEEP_OOS_MODE } L1aSleepMode; //ICAT EXPORTED ENUM typedef struct LteEcphyComCmdL1LogInfoTag { Int8 commonId ; // CMID_L1_LOG_INFO_IND = 197 Int8 reseved ; Int16 msglength ; // log data length Int32 *msgPtr ; // log data pointer } LteEcphyComCmdL1LogInfo; //ICAT EXPORTED ENUM typedef enum { LTE_CALIBRATION_START_CMD_ACK =0x0 , LTE_CALIBRATION_END_CMD_ACK , LTE_CALIBRATION_AFC_PARAM_CMD_ACK , LTE_CALIBRATION_APC_PARAM_CMD_ACK , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , LTE_CALIBRATION_RESULT_DATA_ACK , LTE_CALIBRATION_POWER_DETECTOR_RESULT_ACK , LTE_CALIBRATION_DIGRF4_LOOPBACK_TEST_RESULT_ACK , LTE_CALIBRATION_TEMP_UPDATE_START_ACK , LTE_CALIBRATION_TEMP_UPDATE_STOP_ACK , LTE_CALIBRATION_SUPER_CMD_ACK , LTE_CALIBRATION_FORCE_RX_ACK = 11 , // CQ00135176 add LTE_CALIBRATION_IP2_DATA_ACK = 0x20 , // CQ00149337 add // CQ00150265 mod , from 0x21 to 0x20 LTE_CALIBRATION_SPUR_DATA_ACK = 0x21 , // CQ00150265 add LTE_CALIBRATION_ID_MAX // CQ00135176 add } L1aCalAckOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA =0x0 , LTE_CAL_AGC_RESULT_DATA , // 1 LTE_CAL_APC_RESULT_DATA , // 2 LTE_CAL_TEMP_COMP_RESULT_DATA , // 3 LTE_CAL_FREQ_COMP_RESULT_DATA , // 4 LTE_CAL_CONTROL_DATA_BASE , // 5 LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA , // 6 LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA , // 7 LTE_CAL_TEMP_IN_NORMAL_MODE , // 8 LTE_CAL_POWER_DET_VOL_DATA , // 9 LTE_CAL_VOL_COMP_DATA , // 0 A /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_CARRIER_LEAKAGE_COMP_DATA , LTE_CAL_COMMON_SECTION_DATA , // LTE_AFC_SHARED_GSM_VAL = 0x0D , / *CQ00067223 add but not used* / LTE_CAL_DCXO_RESULT_DATA = 0x0E , // CQ56537 LTE_CAL_SERVE_CELL_IND_DATA = 0x0F , // CQ00059303 / *CQ00064574 add* / / *CQ00067223 modify 0xD to 0xF , due to 0x0D already used by LWG GPLC IPC_LTE_AFC_SHARED_GSM_VAL* / /*Modify for CQ00038631 by qhli end*/ // LTE_CAL_RF_AOC_CONFIG_DATA = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_IP2_RESULT_DATA = 0x20 , // CQ00149337 add LTE_CAL_SPUR_RESULT_DATA = 0x21 , // CQ00150265 add LTE_CAL_RF_TUNING_TOOLS_DATA = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA = 0x41 , /*CQ00067780 add*/ LTE_CAL_ADDITIONAL_MPR_TABLE_DATA = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA = 0x44 , /*CQ00084876 add*/ LTE_CAL_EXT_TABLE_DATA = 0x45 , // CQ00146303 add LTE_CAL_GNSS_BLK_DATA = 0x46 , // CQ00147393 add // 4 NOTE: all new operaion id should add before this max value LTE_CAL_DATA_OPERATION_ID_MAX /*CQ00067780 add*/ } L1aCalDataOperationId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { LTE_CAL_AFC_RESULT_DATA_ACK =0x0 , LTE_CAL_AGC_RESULT_DATA_ACK , LTE_CAL_APC_RESULT_DATA_ACK , LTE_CAL_TEMP_COMP_RESULT_DATA_ACK , LTE_CAL_FREQ_COMP_RESULT_DATA_ACK , LTE_CAL_CONTROL_DATA_BASE_ACK , LTE_CAL_GAIN_ZONE_COMP_RESULT_DATA_ACK , LTE_CAL_POWER_DET_TEMP_COMP_RESULT_DATA_ACK , // no 0x8 , since temp value not need ack. LTE_CAL_POWER_DET_VOL_DATA_ACK =0x9 , /*Modify for CQ00038631 by qhli begin*/ LTE_CAL_VOL_COMP_DATA_ACK , LTE_CAL_CARRIER_LEAKAGE_COMP_DATA_ACK , LTE_CAL_COMMON_SECTION_DATA_ACK , LTE_CAL_DCXO_RESULT_DATA_ACK = 0x0D , // CQ56537 /*Modify for CQ00038631 by qhli end*/ LTE_CAL_SERVE_CELL_IND_DATA_ACK = 0x0E , // CQ00059303 / *CQ00064574 add* / // LTE_CAL_RF_AOC_CONFIG_DATA_ACK = 0x10 , // CQ00120188 add , enable it if L1 need it. LTE_CAL_RF_TUNING_TOOLS_RESULT_DATA_ACK = 0x40 , /*CQ00064602 add*/ LTE_CAL_PA_CTRL_TABLE_DATA_ACK = 0x41 , /*CQ00067780 add*/ /*CQ00079324 modify typo*/ LTE_CAL_ADDITIONAL_MPR_DATA_ACK = 0x42 , /*CQ00079324 add*/ LTE_CAL_RF_CONFIG_TABLE_DATA_ACK = 0x43 , /*CQ00081353 add*/ LTE_CAL_QT_ET_FREQ_ADJ_TABLE_DATA_ACK = 0x44 , /*CQ00084876 add*/ // 4 NOTE: all new result data ack item id should add before this max value LTE_CAL_RESULT_DATA_ACK_ITEM_ID_MAX /*CQ00067780 add*/ } L1aCalResultDataAckItemId; //ICAT EXPORTED ENUM */ // ICAT EXPORTED ENUM typedef enum { L1A_CAL_MODE_STATE_NOT_START = 0 , L1A_CAL_MODE_STATE_WAIT_SET_LTE_CNF , // CQ00063641 L1A_CAL_MODE_STATE_WAIT_START , L1A_CAL_MODE_STATE_ACTIVE , L1A_CAL_MODE_STATE_WAIT_STOP , L1A_CAL_MODE_STATE_AFC_WAIT_START , L1A_CAL_MODE_STATE_AFC_ACTIVE , L1A_CAL_MODE_STATE_AFC_WAIT_STOP , L1A_CAL_MODE_STATE_AGC_WAIT_START , L1A_CAL_MODE_STATE_AGC_ACTIVE , L1A_CAL_MODE_STATE_AGC_WAIT_STOP , L1A_CAL_MODE_STATE_APC_WAIT_START , L1A_CAL_MODE_STATE_APC_ACTIVE , L1A_CAL_MODE_STATE_APC_WAIT_STOP , L1A_CAL_MODE_STATE_POWER_DETECTOR_ACTIVE , L1A_CAL_MODE_STATE_DIGRF4_BUS_LOOPBACK_TEST_ACTIVE , L1A_CAL_MODE_STATE_WAIT_AFC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_AGC_DATA_ACK , L1A_CAL_MODE_STATE_WAIT_APC_DATA_ACK } L1aCalModeState; //ICAT EXPORTED ENUM typedef enum { LTE_CAL_CONTROL_CMD_START =0x0 , LTE_CAL_CONTROL_CMD_END , LTE_CAL_CONTROL_CMD_DIGRF4_LOOPBACK_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_START , LTE_CAL_CONTROL_CMD_TEMP_UPDATED_STOP } L1aCalControlCmd; //ICAT EXPORTED STRUCT typedef struct L1aAFCCalCmdStructTag { SignedInt16 AfcOperationCode ; /*range: ( -2580 , 2581 ) */ Int16 Reserved [ 32 ] ; // CQ00108601 modfiy // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; // Int16 Rsv3 ; // Int16 Rsv4 ; } L1aAFCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdStructTag { Int16 FreqChgFlag ; /*indicata whether carrier freq change or not*/ Int16 CarrierFreq ; /*indicate carrier frequency poing. Range 0 to 45589 */ Int16 BandWidth ; /*indicate eutra operating bandwidth. Range 0 to 5 */ SignedInt16 outputPower ; /*indicate the power output from test instrument. Range 30 dBm to -75dBm.*/ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; // Int16 Rsv1 ; // Int16 Rsv2 ; } L1aAGCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAPCCalCmdStructTag { SignedInt16 StartOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 EndOutputPower ; /*indicate the beginning of UE output power. Range 29 dBm to -75dBm. the step is 1 dBm*/ SignedInt16 PowerChgDelta ; /*indicate the gap between steps*/ Int16 FreqChgFlag ; /*indicate whether change or notl*/ Int16 CarrierFreq ; /*indicate the uplink carrier frequency. Range [ 0 , 45589 ] */ Int16 PaGainState ; /*indicate the pa gain state , Range [ 0 , 2 ] */ Int16 PowerDetectorEnable ; /*indicate the power detector function enable or disable */ Int16 Reserved [ 32 ] ; // CQ00108601 modify // Int16 Rsv0 ; } L1aAPCCalCmdStruct; //ICAT EXPORTED STRUCT typedef struct L1aAGCCalCmdAckStructTag { Int16 operationId ; // CQ00131445 add , LTE_CALIBRATION_AGC_PARAM_CMD_ACK , L1 report ack IPC with Int16 data [ 0 ] = operationId ; SignedInt16 primaryFrontEndloss ; /*indicate the loss of primary front end of RF stored into NVM file. Unit: dB*/ SignedInt16 secondaryFrontEndloss ; /*indicate the loss of secondary front end of RF stored into NVM file. Unit: dB*/ /*CQ00131445 start add*/ Int16 primaryRssiCalcHighPart ; Int16 primaryRssiCalcLowPart ; Int16 secondaryRssiCalcHighPart ; Int16 secondaryRssiCalcLowPart ; SignedInt16 primaryNvmFeloss ; /*indicate the loss of primary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ SignedInt16 secondaryNvmFeloss ; /*indicate the loss of secondary front end of current band mid channel in LteCalData.nvm . Unit: dB*/ /*CQ00131445 end add*/ } L1aAGCCalCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetResultStructTag { Int16 detectorVoltage ; /*indicate one voltage output from power detector in the range 0 ~2.4v*/ SignedInt16 detectedPower ; /*indicate the output power got from power detector compensation table*/ } L1aPowerDetResultStruct; //ICAT EXPORTED STRUCT typedef struct L1aPowerDetectorResultAckStructTag { Int16 length ; /*indicate the result length of the Power Detector arrray*/ // L1aPowerDetResultStruct result [ LTE_POWER_DET_RESULT_MAX ] ; // 2012.110000 .22 no use by now. may be 420 too long? } L1aPowerDetectorResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aDigRf4BusLoopbackTestResultAckStructTag { Int16 testResult ; /*indicate DigRf4 bus loopback test result in 1 sencond period , Unit: subframe*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; Int16 Rsv5 ; } L1aDigRf4BusLoopbackTestResultAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalResultDataAckStructTag { // 0x385 IPC exclude data [ 0 ] ( Int16 operationId ) , headerAck IPC refer to L1aCalHeaderAckIpcStruct Int16 itemId ; /*refer to L1aCalResultDataAckItemId*/ Int16 Rsv0 ; Int16 Rsv1 ; Int16 Rsv2 ; Int16 Rsv3 ; Int16 Rsv4 ; } L1aCalResultDataAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aCalSuperCmd; //ICAT EXPORTED STRUCT typedef struct L1aCalSuperCmdAckStructTag { Int16 isNothing ; /*if 0 , indicate nothing need to be checked*/ Int16 reserved [ 100 ] ; } L1aCalSuperCmdAckStruct; //ICAT EXPORTED STRUCT typedef struct L1aRfTuningToolSuperCmdTag { Int16 msgParaLen ; Int16 msgId ; Int16 para [ 4800 ] ; } L1aRfTuningToolSuperCmd; //ICAT EXPORTED STRUCT typedef struct LteNVMNewHeaderTag /*CQ00064574 modify*/ { Int16 controlDB ; Int16 hardwareInfor ; Int16 calibrationInfo ; Int16 apcTableStart ; Int16 apcTableLength ; Int16 agcTableStart ; Int16 agcTableLength ; Int16 afcTableStart ; Int16 afcTableLength ; Int16 tempCompTableStart ; /* Temperature Compensation */ Int16 tempCompTableLength ; Int16 chCompTableStart ; /* Channel ( Freq ) Compensation */ Int16 chCompTableLength ; Int16 FddTddBandIndication ; Int16 gainZoneCompTableStart ; /* Gain zone Compensation */ Int16 gainZoneCompTableLength ; Int16 afcInitialCode ; /*Modify CQ00027958 by qhli 20121023 begin*/ Int16 powerDetTempCompTableStart ; Int16 powerDetTempCompTableLength ; Int16 tempUpdatedPeriod ; /*Unit: 10 ms*/ Int16 tddBandPaStateIndication ; Int16 fddBandPaStateIndication ; Int16 powerDetVolTableStart ; Int16 powerDetVolTableLength ; Int16 volCompTableStart ; /* Voltage Compensation */ Int16 volCompTablelength ; /*CQ00064574 modify*/ Int16 tempValueInCalibrationMode ; /*Modify CQ00038631 by qhli begin*/ Int16 voltValInCaliMode ; Int16 carrierLeakageTableOffset ; Int16 carrierLeakageTableLength ; Int16 commonSectionTableOffset ; Int16 commonSectionTableLength ; // Int16 reservedIE [ LTE_NVM_HEADER_MAX-27 ] ; /*Modify CQ00038631 by qhli end*/ /*Modify CQ00027958 by qhli 20121023 end*/ } LteNVMNewHeader; //ICAT EXPORTED STRUCT autoDoc Plat typedef struct L1aCalNVMNewStructAllTag { LteNVMNewHeader nvmHeader ; /* Header */ /*CQ00064574 modify*/ Int16 NvmIE [ ( 2 * ( 200 -1 ) ) ] ; } L1aCalNVMNewStructAll; //ICAT EXPORTED STRUCT typedef struct _CalData_CtrlDB { Int16 LTE_RF_Cal_En ; Int16 BB_Cal_En ; Int16 Compensation_En ; Int16 LTE_RF_Cal_Table_Edition ; Int16 Transceiver_Type ; Int16 PA_Type ; Int16 Crystal_Type ; Int16 PA_Mode ; Int16 RF_Cal_Table_Mode ; Int16 Year ; Int16 Month ; Int16 Day ; Int16 APC_start ; Int16 APC_length ; Int16 AGC_start ; Int16 AGC_length ; Int16 AFC_start ; Int16 AFC_length ; Int16 TempComp_start ; Int16 TempComp_Length ; Int16 CHComp_Start ; Int16 CHComp_Length ; // Int16 VolComp_Start ; // Int16 VolComp_Length ; Int16 Band_Indication ; Int16 Gain_Zone_start ; Int16 Gain_Zone_Length ; Int16 Afc_Initial_code ; } CalData_CtrlDB; //ICAT EXPORTED STRUCT typedef struct _RDA_Cal { SignedInt16 RDA_Index ; float BB_Compensation ; } RDA_Cal; //ICAT EXPORTED STRUCT typedef struct _single_PA { SignedInt16 Max_Power ; SignedInt16 Index ; RDA_Cal Data [ 200 / 2 ] ; // the half of APC_CAL_MAX_POS_NUM } single_PA; //ICAT EXPORTED STRUCT typedef struct _single_PA_mode { Int16 APC_Bandx_Num ; single_PA Data_Bandx [ 200 ] ; } single_PA_mode; //ICAT EXPORTED STRUCT typedef struct _double_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HL_H ; SignedInt16 Index_HL_H ; SignedInt16 HL_L ; SignedInt16 Index_HL_L ; SignedInt16 LH_H ; SignedInt16 Index_LH_H ; SignedInt16 LH_L ; SignedInt16 Index_LH_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 2 *200 / 2 ] ; } double_PA; //ICAT EXPORTED STRUCT typedef struct _double_PA_mode { Int16 APC_Bandx_Num ; double_PA Data_Bandx [ 200 ] ; } double_PA_mode; //ICAT EXPORTED STRUCT typedef struct _triple_PA { SignedInt16 Max_Power ; SignedInt16 Index_Max_Power ; SignedInt16 HM_H ; SignedInt16 Index_HM_H ; SignedInt16 HM_M ; SignedInt16 Index_HM_M ; SignedInt16 MH_H ; SignedInt16 Index_MH_H ; SignedInt16 MH_M ; SignedInt16 Index_MH_M ; SignedInt16 ML_M ; SignedInt16 Index_ML_M ; SignedInt16 ML_L ; SignedInt16 Index_ML_L ; SignedInt16 LM_M ; SignedInt16 Index_LM_M ; SignedInt16 LM_L ; SignedInt16 Index_LM_L ; SignedInt16 Min_Power ; SignedInt16 Index_Min_Power ; RDA_Cal Data [ 3 *200 / 2 ] ; } triple_PA; //ICAT EXPORTED STRUCT typedef struct _triple_PA_mode { Int16 APC_Bandx_Num ; triple_PA Data_Bandx [ 200 ] ; } triple_PA_mode; //ICAT EXPORTED STRUCT typedef struct _APCCalData { single_PA_mode Apc_CalData_single [ 7 ] ; double_PA_mode Apc_CalData_double [ 7 ] ; triple_PA_mode Apc_CalData_triple [ 7 ] ; } APCCalData; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal { Int16 ARFCN ; SignedInt16 FEloss ; Int16 Rsv0 ; Int16 Rsv1 ; } AGC_Cal; //ICAT EXPORTED STRUCT typedef struct _AGC_Cal_mode { Int16 AGC_Bandx_Length ; AGC_Cal Data_Bandx [ 10 ] ; } AGC_Cal_mode; //ICAT EXPORTED STRUCT typedef struct _AGCCalData { AGC_Cal_mode Agc_CalData [ 7 ] ; } AGCCalData; //ICAT EXPORTED STRUCT typedef struct _AFCCalData { Int16 AFC_Points_num ; Int16 Points [ 48 ] ; SignedInt16 AFC_Bit_precision [ 48 -1 ] ; } AFCCalData; //ICAT EXPORTED STRUCT typedef struct _triple_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_Temp_data { Int16 Temperature_Num_Bandx ; triple_Temp Temp_data_Bandx [ 10 ] ; } triple_Temp_data; //ICAT EXPORTED STRUCT typedef struct _TempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_Temp_data triple_data [ 7 ] ; } TempCompCalData; //ICAT EXPORTED STRUCT typedef struct _channel_triple { float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; } channel_triple; //ICAT EXPORTED STRUCT typedef struct _channel_triple_mode { Int16 ChComp_Chn_Num_Bandx ; Int16 Arfcn_Bandx [ 10 ] ; channel_triple ChComp_Gain_Bandx [ 10 ] ; float Intro_Reci_Bandx [ 10 ] ; } channel_triple_mode; //ICAT EXPORTED STRUCT typedef struct _ChannelCalData { // channel_single_mode Ch_CalData_single ; // channel_double_mode Ch_CalData_double ; channel_triple_mode Ch_CalData_triple [ 7 ] ; } ChannelCalData; //ICAT EXPORTED STRUCT typedef struct _gain_zone_mode { float Gain_Error [ 10 ] ; } gain_zone_mode; //ICAT EXPORTED STRUCT typedef struct _GainZoneCompCalData { Int16 gain_zone_mode [ 7 ] ; } GainZoneCompCalData; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp { SignedInt16 T ; float High_Gain_Error ; float Middle_Gain_Error ; float Low_Gain_Error ; SignedInt16 High_Gain_Arfcn ; SignedInt16 Middle_Gain_Arfcn ; SignedInt16 Low_Gain_Arfcn ; float Calculation_Reciprocal ; } triple_PowerDet_Temp; //ICAT EXPORTED STRUCT typedef struct _triple_PowerDet_Temp_data { Int16 Power_Det_Temperature_Num_Bandx ; triple_PowerDet_Temp Power_Det_Temp_data_Bandx [ 10 ] ; } triple_PowerDet_Temp_data; //ICAT EXPORTED STRUCT typedef struct _PowerDetTempCompCalData { // single gain mode // single_Temp_data single_data ; // double gain mode // double_Temp_data double_data ; // triple gain mode triple_PowerDet_Temp_data triple_PowerDet_data [ 7 ] ; } PowerDetTempCompCalData; //ICAT EXPORTED STRUCT typedef struct LteCaliBandNumAndPaMode_St { unsigned short Pa_Mode ; unsigned short LO_Cali_Enable ; unsigned short LO_Cali_Method ; unsigned short APT_Available ; /*CQ00129801 start add*/ unsigned short ET_Available ; unsigned short PD_Available ; /*CQ00129801 end add */ unsigned short BandVal ; /*CQ00129801 start add*/ unsigned short CA_Indication ; unsigned short PCC_Band_Num ; unsigned short SCC_Band_Num ; /*CQ00129801 end add*/ } LteCaliBandNumAndPaMode; //ICAT EXPORTED STRUCT typedef struct LteRfCaliDataHeaderTable_St { unsigned short LTE_RF_Cal_En ; unsigned short BB_Cal_En ; unsigned short Compensation_En ; unsigned short Read_Temp_Method ; // CQ00129801 add unsigned short Cali_File_Version_Val ; /*CQ00071213 add*/ unsigned short LTE_RF_Cal_Table_Edition ; unsigned short Transceiver_Type ; unsigned short PA_Type ; unsigned short Crystal_Type ; unsigned short PA_Mode ; unsigned short RF_Cal_Table_Mode ; unsigned short Year ; unsigned short Month ; unsigned short Day ; unsigned short APC_Offset ; unsigned short APC_Length ; unsigned short AGC_Offset ; unsigned short AGC_Length ; unsigned short AFC_Offset ; unsigned short AFC_Length ; unsigned short TempComp_Offset ; unsigned short TempComp_Length ; unsigned short FreqComp_Offset ; unsigned short FreqComp_Length ; unsigned short Band38 ; unsigned short Band40 ; unsigned short Band39 ; unsigned short Band1 ; unsigned short Band7 ; unsigned short Band13 ; unsigned short Band17 ; unsigned short Band3 ; unsigned short GainZoneComp_offset ; unsigned short GainZoneComp_Length ; unsigned short AfcInitialCode ; unsigned short PowerDetTempComp_offset ; unsigned short PowerDetTempComp_Length ; unsigned short TempUpdatedPeriod ; unsigned short TDDBandPaStateIndication ; unsigned short FDDBandPaStateIndication ; /*CQ00071213 start add*/ unsigned short PowerDetVoltTableOffset ; unsigned short PowerDetVoltTableLength ; unsigned short VoltageCompTableOffset ; unsigned short VoltageCompTableLength ; signed short TempValInCaliMode ; signed short VoltValInCaliMode ; unsigned short CarrierLeakageTableOffset ; unsigned short CarrierLeakageTableLength ; unsigned short CommonSectionOffset ; unsigned short CommonSectionLength ; /*CQ00129801 start add*/ unsigned short SupportBandNum ; unsigned short NewCABandGroupNum ; /*CQ00129801 end add*/ LteCaliBandNumAndPaMode BandNumAndPaMode [ ( 15 ) + ( 45 ) ] ; // BandA-BandH , CQ00129801 modify , add +LTE_CA_GROUP_NUM_MAX /*CQ00071213 end add*/ unsigned short Reserve [ ( ( 32 +128 ) - ( 32 ) ) ] ; } LteRfCaliDataHeaderTable; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTablePaThreeStateOneBand_St { signed short MaxPower ; // indicates the maximum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is 24 dBm. unsigned short MaxPowerIndex ; // indicates the maximum uplink power index in the table. signed short HMHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is high gain state. unsigned short HMHSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short HMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change middle gain state from high gain state. unsigned short HMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MHHSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHHSwitchPointIndex ; //// indicates the PA gain state switch points index in the table. signed short MHMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change high gain state from middle gain state. unsigned short MHMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLMSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is middle gain state. unsigned short MLMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MLLSwitchPoint ; // indicates the PA gain state switch points in the case the next output is less than it , the pa gain state will change low gain state from middle gain state. unsigned short MLLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMMSwitchPoint ; // indicates the PA gain state switch points in the case the next output is more than it , the pa gain state will change middle gain state from low gain state. unsigned short LMMMSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short LMLHSwitchPoint ; // indicates the PA gain state switch points in the case the last pa gain state is low gain state. unsigned short LMLSwitchPointIndex ; // indicates the PA gain state switch points index in the table. signed short MinPower ; // indicates the minimum uplink power. According to 3 GPP Spec 36.101000 6.200000 .2 , we support class 3 . The default maximum output power is -45dBm. unsigned short MinPowerIndex ; // indicates the minimum uplink power index in the table. signed short ApcCaliPoints [ ( 300 ) ] ; } LteCaliApcTablePaThreeStateOneBand; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandPointsNum ; LteCaliApcTablePaThreeStateOneBand Band ; } ApcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliApcTable_St { /**** Band38 / BandA ****/ unsigned short BandAPointsNum ; LteCaliApcTablePaThreeStateOneBand BandA ; /**** Band40 / BandB ****/ unsigned short BandBPointsNum ; LteCaliApcTablePaThreeStateOneBand BandB ; /**** Band39 / BandC ****/ unsigned short BandCPointsNum ; LteCaliApcTablePaThreeStateOneBand BandC ; /**** Band1 / BandD ****/ unsigned short BandDPointsNum ; LteCaliApcTablePaThreeStateOneBand BandD ; /**** Band7 / BandE ****/ unsigned short BandEPointsNum ; LteCaliApcTablePaThreeStateOneBand BandE ; /**** Band13 / BandF ****/ unsigned short BandFPointsNum ; LteCaliApcTablePaThreeStateOneBand BandF ; /**** Band17 / BandG ****/ unsigned short BandGPointsNum ; LteCaliApcTablePaThreeStateOneBand BandG ; /**** Band3 / BandH ****/ unsigned short BandHPointsNum ; LteCaliApcTablePaThreeStateOneBand BandH ; /*CQ00129801 start add*/ } LteCaliApcTable_St; //ICAT EXPORTED UNION typedef union LteCaliApcTable_Un { ApcTableElement m_ApcTableElement [ ( 15 ) ] ; LteCaliApcTable_St LteCaliApcTablePaThreeState ; } LteCaliApcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTableOneEarfcn_St { unsigned short Earfcn ; signed short PriFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of primary RF antenna. signed short SecFeloss ; // CQ00129801 modify from UNIT16. This field describes the front-end loss of secondary RF antenna. unsigned short Reserver0 ; unsigned short Reserver1 ; } LteCaliAgcTableOneEarfcn; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; LteCaliAgcTableOneEarfcn Band [ ( 20 ) ] ; } LteCaliAgcTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliAgcTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; LteCaliAgcTableOneEarfcn BandA [ ( 20 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; LteCaliAgcTableOneEarfcn BandB [ ( 20 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; LteCaliAgcTableOneEarfcn BandC [ ( 20 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; LteCaliAgcTableOneEarfcn BandD [ ( 20 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; LteCaliAgcTableOneEarfcn BandE [ ( 20 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; LteCaliAgcTableOneEarfcn BandF [ ( 20 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; LteCaliAgcTableOneEarfcn BandG [ ( 20 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; LteCaliAgcTableOneEarfcn BandH [ ( 20 ) ] ; /*CQ00129801 start add*/ } LteCaliAgcTable_St; //ICAT EXPORTED UNION typedef union LteCaliAgcTable_Un { // To support more CA band LteCaliAgcTableElement m_AgcTableElement [ ( 15 ) + ( 45 ) *2 ] ; LteCaliAgcTable_St LteCaliAgcTableAllBand ; /*CQ00129801 end add*/ } LteCaliAgcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliAfcTable_St { unsigned short AfcPointsNum ; signed short AfcPoints [ ( 50 ) ] ; unsigned short AfcBitPrecision [ ( 50 ) -1 ] ; } LteCaliAfcTable; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandTempNum ; LteCaliTempCompOnePoint Band [ ( 50 ) ] ; } TempCompOnePointElement; //ICAT EXPORTED STRUCT typedef struct LteCaliTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliTempCompOnePoint BandH [ ( 50 ) ] ; /*CQ00129801 start add*/ } LteCaliTempCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliTempCompTable_Un { TempCompOnePointElement m_TempCompOnePointElement [ ( 15 ) ] ; LteCaliTempCompTable_St LteCaliTempCompPoints ; /*CQ00129801 end add*/ } LteCaliTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompOnePoint_St { signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; } LteCaliFreqCompOnePoint; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandFreqNum ; unsigned short BandEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandPaError [ ( 100 ) ] ; unsigned short BandIntroReciprocal [ ( 100 ) ] ; } FreqCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliFreqCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAFreqNum ; unsigned short BandAEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandAPaError [ ( 100 ) ] ; unsigned short BandAIntroReciprocal [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBFreqNum ; unsigned short BandBEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandBPaError [ ( 100 ) ] ; unsigned short BandBIntroReciprocal [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCFreqNum ; unsigned short BandCEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandCPaError [ ( 100 ) ] ; unsigned short BandCIntroReciprocal [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDFreqNum ; unsigned short BandDEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandDPaError [ ( 100 ) ] ; unsigned short BandDIntroReciprocal [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEFreqNum ; unsigned short BandEEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandEPaError [ ( 100 ) ] ; unsigned short BandEIntroReciprocal [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFFreqNum ; unsigned short BandFEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandFPaError [ ( 100 ) ] ; unsigned short BandFIntroReciprocal [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGFreqNum ; unsigned short BandGEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandGPaError [ ( 100 ) ] ; unsigned short BandGIntroReciprocal [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHFreqNum ; unsigned short BandHEarfcnIndex [ ( 100 ) ] ; LteCaliFreqCompOnePoint BandHPaError [ ( 100 ) ] ; unsigned short BandHIntroReciprocal [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliFreqCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliFreqCompTable_Un { FreqCompTableElement m_FreqCompTableElement [ ( 15 ) ] ; LteCaliFreqCompTable_St LteCaliFreqCompPoints ; /*CQ00129801 end add*/ } LteCaliFreqCompTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short BandGainZoneNum ; signed short Band [ ( 100 ) ] ; } GainZoneCompTableElement; //ICAT EXPORTED STRUCT typedef struct LteCaliGainZoneCompTable_St { /**** Band38 / BandA ****/ unsigned short BandAGainZoneNum ; signed short BandA [ ( 100 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBGainZoneNum ; signed short BandB [ ( 100 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCGainZoneNum ; signed short BandC [ ( 100 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDGainZoneNum ; signed short BandD [ ( 100 ) ] ; /**** Band7 / BandE ****/ unsigned short BandEGainZoneNum ; signed short BandE [ ( 100 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFGainZoneNum ; signed short BandF [ ( 100 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGGainZoneNum ; signed short BandG [ ( 100 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHGainZoneNum ; signed short BandH [ ( 100 ) ] ; /*CQ00129801 start add*/ } LteCaliGainZoneCompTable_St; //ICAT EXPORTED UNION typedef union LteCaliGainZoneCompTable_Un { GainZoneCompTableElement m_GainZoneCompTableElement [ ( 15 ) ] ; LteCaliGainZoneCompTable_St LteCaliGainZoneCompPoints ; /*CQ00129801 end add*/ } LteCaliGainZoneCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompOnePoint_St { signed short Temperature ; signed short PaHighGainPowerError ; signed short PaMiddleGainPowerError ; signed short PaLowGainPowerError ; unsigned short PaHighGainPowerShift ; unsigned short PaMiddleGainPowerShift ; unsigned short PaLowGainPowerShift ; unsigned short IntroReciprocal ; } LteCaliPDetTempCompOnePoint; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetTempCompTable_St { /**** Band38 / BandA ****/ unsigned short BandATempNum ; LteCaliPDetTempCompOnePoint BandA [ ( 50 ) ] ; /**** Band40 / BandB ****/ unsigned short BandBTempNum ; LteCaliPDetTempCompOnePoint BandB [ ( 50 ) ] ; /**** Band39 / BandC ****/ unsigned short BandCTempNum ; LteCaliPDetTempCompOnePoint BandC [ ( 50 ) ] ; /**** Band1 / BandD ****/ unsigned short BandDTempNum ; LteCaliPDetTempCompOnePoint BandD [ ( 50 ) ] ; /**** Band7 / BandE ****/ unsigned short BandETempNum ; LteCaliPDetTempCompOnePoint BandE [ ( 50 ) ] ; /**** Band13 / BandF ****/ unsigned short BandFTempNum ; LteCaliPDetTempCompOnePoint BandF [ ( 50 ) ] ; /**** Band17 / BandG ****/ unsigned short BandGTempNum ; LteCaliPDetTempCompOnePoint BandG [ ( 50 ) ] ; /**** Band3 / BandH ****/ unsigned short BandHTempNum ; LteCaliPDetTempCompOnePoint BandH [ ( 50 ) ] ; } LteCaliPDetTempCompTable; //ICAT EXPORTED STRUCT typedef struct LteCaliPDetVoltageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 50 ) +1 ) ) ] ; } LteCaliPDetVoltageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCarrierLeakageTable_St { unsigned short CarrierLeakageTableArray [ ( ( 15 ) * ( ( 20 ) + ( 20 ) +1 ) *3+8 ) ] ; } LteCaliCarrierLeakageTable; //ICAT EXPORTED STRUCT typedef struct LteCaliCommonSectionTable_St { unsigned short CarrierLeakageTableArray [ ( 4000 ) ] ; } LteCaliCommonSectionTable; //ICAT EXPORTED STRUCT typedef struct { unsigned short PDnumBandX ; // indicate the number of power detector for band signed short PDValueBandX [ 20 ] ; } PwrDetTableElement; //ICAT EXPORTED STRUCT typedef struct LtePwrDetTable_St { PwrDetTableElement PwrDetTable [ ( 15 ) ] ; } LtePwrDetTable; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_Header { unsigned char BandNum ; unsigned char Reserved [ 31 ] ; } PA_Ctrl_Header_ts; //ICAT EXPORTED STRUCT typedef struct PA_Ctrl_ITEM { short Power ; unsigned char Bias1 ; unsigned char Bias2 ; unsigned short Pcode ; } PA_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct One_Band_Ctrl_ITEM { unsigned char Band ; unsigned char reserved ; PA_Ctrl_ITEM_ts Ctrl_items [ 50 ] ; } One_Band_Ctrl_ITEM_ts; //ICAT EXPORTED STRUCT typedef struct LTE_PA_Ctrl_Table { PA_Ctrl_Header_ts FileHeader ; One_Band_Ctrl_ITEM_ts BandTable [ 15 ] ; // 8 / *CQ00099916 modify* / } LTE_PA_Ctrl_Table_ts; //ICAT EXPORTED STRUCT typedef struct Oneband_AMRP_St { unsigned short Band ; signed short AdjustMprVal [ 14 ] ; } Oneband_AMPR; //ICAT EXPORTED STRUCT typedef struct AdditionalMPR_St { UINT8 Bandnum ; UINT8 Reserved ; Oneband_AMPR BandAMPR [ 15 ] ; /*CQ00099916 modify*/ } AdditionalMPR; //ICAT EXPORTED STRUCT typedef struct Oneband_VccAdjust_st { unsigned short Band ; char AptAdjValue1 [ 20 ] ; char AptAdjValue2 [ 20 ] ; } Oneband_VccAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_TxpowerAdjust_st { unsigned short Band ; short TxpowerAdjValue [ 20 ] ; } Oneband_TxpowerAdjust; //ICAT EXPORTED STRUCT typedef struct Oneband_RsrpAdjust_st { unsigned int Band ; short RsrpAdjValue [ 6 ] ; // short RsrpAdjValueSec [ 6 ] ; } Oneband_RsrpAdjust; //ICAT EXPORTED STRUCT typedef struct LteRfConfig_st { unsigned char Bandnum ; unsigned char Reserved ; Oneband_VccAdjust AptVccAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_TxpowerAdjust TxPowerAdj [ 8 ] ; /*CQ00099916 modify*/ Oneband_RsrpAdjust RsrpAdj [ 8 ] ; /*CQ00099916 modify*/ } LteRfConfig; //ICAT EXPORTED STRUCT typedef struct LteQtEtDelayBwAdj_st { unsigned char RbNum ; unsigned char BandWidth ; char Delay_Int ; char Delay_Frac ; } LteQtEtDelayBwAdj; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOnePoint_st { unsigned short UlFreq ; INT8 DelayFreq_Int ; INT8 DelayFreq_Frac ; INT8 ETPgcFreqDelta ; INT8 ETScaleFreqDelta ; INT8 ETOffsetFreqDelta ; UINT8 Reserved ; } LteQtEtFreqAdjOnePoint; //ICAT EXPORTED STRUCT typedef struct LteQtEtFreqAdjOneBand_st { unsigned char Band ; unsigned char Length ; LteQtEtFreqAdjOnePoint LteQtEtFreqAdjArray [ 40 ] ; } LteQtEtFreqAdjOneBand; //ICAT EXPORTED STRUCT typedef struct LteQtEtAdj_st { LteQtEtDelayBwAdj DelayBwAdj [ 8 ] ; LteQtEtFreqAdjOneBand EtFreqAdjOneBand [ 8 ] ; } LteQtEtAdj_temp; //ICAT EXPORTED STRUCT typedef struct { LteRfCaliDataHeaderTable header ; LteCaliApcTable APCTable ; LteCaliAgcTable AGCTable ; LteCaliAfcTable AFCTable ; LteCaliTempCompTable TempCompTable ; LteCaliFreqCompTable FreqCompTable ; LteCaliGainZoneCompTable GainZoneCompTable ; LteCaliPDetTempCompTable PdetTempCompTable ; /*CQ00071213 start add*/ LteCaliPDetVoltageTable PDetVoltageTable ; LtePwrDetTable PwrDetTable ; // CQ00129801 add LteCaliCarrierLeakageTable CarrierLeakageTable ; LteCaliCommonSectionTable CommonSectionTable ; unsigned short BandNumTargetPwrWithFrac [ ( 15 ) ] ; // CQ00129801 add , record the detailed fractional power /*CQ00071213 end add*/ } LTECalibrationNVMStruct; //ICAT EXPORTED STRUCT typedef struct EcphyTxPowerBackOffExtReqTag { // 2 must Int16 for each item Int16 changeMode ; // 2 : POWER_REDUCE , 3 :POWER_RAISE ; Int16 changeValue ; // reduce or raise value , relative value to max tx power. Int16 isForBand ; // 0 : for all LTE bands. 1 : for the specified band. Int16 band ; // the band to change tx power , only valid when isForBand= TRUE. } EcphyTxPowerBackOffExtReq; //ICAT EXPORTED ENUM typedef enum L1aForceTxRxStateTag { L1A_FORCE_TX_RX_NULL = 0 , L1A_FORCE_TX_START = 1 , L1A_FORCE_RX_START = 2 , L1A_FORCE_TX_RX_INVALID } L1aForceTxRxState; //ICAT EXPORTED STRUCT typedef struct NVM_Header { unsigned long StructSize ; // the size of the user structure below unsigned long NumofStructs ; // >1 in case of array of structs ( default is 1 ) . char StructName [ 64 ] ; // the name of the user structure below char Date [ 32 ] ; // date updated by the ICAT when the file is saved. Filled by calibration SW. char time [ 32 ] ; // time updated by the ICAT when the file is saved. Filled by calibration SW. char Version [ 64 ] ; // user version - this field is updated by the SW eng. Every time they update the UserStruct. char HW_ID [ 32 ] ; // signifies the board number. Filled by calibration SW. char CalibVersion [ 32 ] ; // signifies the calibration SW version. Filled by calibration SW. } NVM_Header_ts; typedef UINT32 Attribs_Mmu ; typedef void ( * mmuNotifyEventFunc ) ( MMU_ERROR_STATUS mmuErrorHandle ) ; typedef union { rw_region_item compress_rw_region_list [ 16 ] ; UINT8 filer [ 512 ] ; } LOADTABLE_AREA_RW_CPZ_INFO ; typedef unsigned char BYTE ; typedef unsigned short int WORD ; typedef unsigned long DWORD ; typedef WORD * WORD_PTR ; typedef DWORD * DWORD_PTR ; typedef BYTE BYTE_BITMASK ; typedef void* * VOID_PTR_PTR ; typedef WORD FLASH_DATA_WIDTH ; typedef char FDI_TCHAR ; typedef OSASemaRef SEM_ID ; typedef int SEM_STATUS ; typedef SEM_MTX * SEM_MTX_ID ; typedef WORD IDTYPE ; typedef DATA_LOOKUP * DATA_LOOKUP_PTR ; typedef DATA_LOCATION * DATA_LOC_PTR ; typedef OPEN_PARAM * OPEN_STREAM_PTR ; typedef COMMAND * COMMAND_PTR ; typedef UNIT_HEADER * UNIT_HDR_PTR ; typedef MULTI_INSTANCE * MULTI_INST_PTR ; typedef BLOCK_INFO * BLK_INFO_PTR ; typedef COMMAND_CONTROL * CMD_CNTRL_PTR ; typedef unsigned short FILE_ID ; //ICAT EXPORTED ENUM typedef enum rfCalibFile_values { NO_CALIB_FILE = 0 , // not found in NVM CALIB_FILE_IS_UPDATED , // NVM file found and alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED , // NVM file found and was converted to be alligned to code ' s version CALIB_FILE_IS_NOT_UPDATED_USING_DEFAULTS // NVM file found , is not alligned to code ' s version and we ' re using defaults instead } rfCalibFile_te; //ICAT EXPORTED STRUCT typedef struct { NVM_Header_ts nvmHeader ; rfCalibFile_te calibNvmStatus ; UINT8 pad [ 3 ] ; } rfCalibFileStatus_ts; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; DIAG_FILTER ( L1A , l1a_main , LteL1aTask_0 , DIAG_INFORMATION) diagPrintf ( " LteL1aTask:L1A main task start! " ); //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_task2.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_task2.c //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_dsds.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_dsds.c //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\aplp_stub_ds3.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\aplp_stub_ds3.c typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; typedef unsigned char Int8 ; typedef void ( *plgMphBcchMeasInd_t ) ( plgMphBcchMeasInd_ts* mphBcchMeasInd ) ; typedef void ( *plgMphBsicDecodeInd_t ) ( plgMphBsicDecodeInd_ts* mphBsicDecodeInd ) ; typedef void ( *plgMphUnitDataInd_t ) ( plgMphUnitDataInd_ts* mphUnitDataInd ) ; typedef void ( *plgMphDownlinkSignalFailInd_t ) ( plgMphDownlinkSignalFailInd_ts* mphDownlinkSignalFailInd ) ; typedef void ( *plgMphIdleNcellMeasInd_t ) ( plgMphIdleNcellMeasInd_ts* mphIdleNcellMeasInd ) ; typedef void ( *plgMphIdleScellMeasInd_t ) ( plgMphIdleScellMeasInd_ts* mphIdleScellMeasInd ) ; typedef void ( *plgMphHandoverStartInd_t ) ( plgMphHandoverStartInd_ts* mphHandoverStartInd ) ; typedef void ( *plgMphRadioLinkTimeoutInd_t ) ( plgMphRadioLinkTimeoutInd_ts* mphRadioLinkTimeoutInd ) ; typedef void ( *plgMphDedicatedMeasInd_t ) ( plgMphDedicatedMeasInd_ts* mphDedicatedMeasInd ) ; typedef void ( *plgMphEngModeDedSrvCellInfoInd_t ) ( plgMphEngModeDedSrvCellInfoInd_ts* mphEngModeDedSrvCellInfoInd ) ; typedef void ( *plgMphErrorInd_t ) ( plgMphErrorInd_ts* mphErrorInd ) ; typedef void ( *plgMphMonitorPlmnInd_t ) ( plgMphMonitorPlmnInd_ts *mphMonitorPlmnInd ) ; typedef void ( *plgMphMonitorPlmnCompleteInd_t ) ( void ) ; typedef void ( *plgMphCellLockCnf_t ) ( plgMphCellLockCnf_ts *mphCellLockCnf ) ; typedef void ( *plgMphBchConfigCnf_t ) ( plgMphBchConfigCnf_ts* mphBchConfigCnf ) ; typedef void ( *plgMphDsConfigCnf_t ) ( plgMphDsConfigCnf_ts* mphDsConfigCnf , Int8 simId ) ; typedef void ( *plgMphRandomAccessCnf_t ) ( plgMphRandomAccessCnf_ts* mphRandomAccessCnf ) ; typedef void ( *plgMphBsicDecodeCnf_t ) ( plgMphBsicDecodeCnf_ts* mphBsicDecodeCnf ) ; typedef void ( *plgMphImmAssignmentCnf_t ) ( plgMphImmAssignmentCnf_ts* mphImmAssignmentCnf ) ; typedef void ( *plgMphChanAssignmentCnf_t ) ( plgMphChanAssignmentCnf_ts* mphChanAssignmentCnf ) ; typedef void ( *plgMphChanAssignmentFailCnf_t ) ( void ) ; typedef void ( *plgMphCipherModeCnf_t ) ( void ) ; typedef void ( *plgMphFrequencyChangeCnf_t ) ( plgMphFrequencyChangeCnf_ts* mphFrequencyChangeCnf ) ; typedef void ( *plgMphChannelModeCnf_t ) ( void ) ; typedef void ( *plgMphHandoverCnf_t ) ( plgMphHandoverCnf_ts* mphHandoverCnf ) ; typedef void ( *plgMphHandoverFailCnf_t ) ( void ) ; typedef void ( *plgMphExtMeasurementCnf_t ) ( plgMphExtMeasurementCnf_ts* mphExtMeasurementCnf ) ; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef void ( *plgMphClassmarkCnf_t ) ( plgMphClassmarkCnf_ts *mphClassmarkCnf ) ; typedef void ( *plgGrrCbControlCnf_t ) ( Int8 simId ) ; typedef void ( *L1GsmCapabilityReportCnf_t ) ( pldL1GsmCapabilityReportCnf_ts *pldL1GsmCapabilityReportCnf ) ; typedef void ( *plgMphSetGsmCnf_t ) ( void ) ; typedef void ( *plgMphMonitorPlmnCnf_t ) ( plgMphMonitorPlmnCnf_ts *mphMonitorPlmnCnf ) ; typedef void ( *plgUmphHandoverToUtranCnf_t ) ( void ) ; typedef void ( *plgUmphHandoverToUtranFailCnf_t ) ( void ) ; typedef void ( *plgUmphHoldGsmCnf_t ) ( void ) ; typedef void ( *plgUmphRestoreGsmCnf_t ) ( void ) ; typedef void ( *plgUtranCellMeasInd_t ) ( plgUtranCellMeasInd_ts *umphCellMeasInd ) ; typedef void ( *plgUtranDetectedCellMeasInd_t ) ( interFreqCellMeasInd_ts *umphDetectedCellMeasInd ) ; typedef void ( *plgUtranRssiMeasInd_t ) ( freqScanInd_ts *umphRssiMeasInd ) ; typedef void ( *plgUtranBchDecodeInd_t ) ( plgUtranBchDecodeInd_ts *utranBchDecodeInd ) ; typedef void ( *plgUtranBchDecodeErrInd_t ) ( plgUtranBchDecodeErrInd_ts *utranBchDecodeErrInd ) ; typedef void ( *plgMphMultiBcchDecodeInd_t ) ( plgMphMultiBcchDecodeInd_ts* mphMultiBcchDecodeInd ) ; typedef void ( *plgPhConnectInd_t ) ( plgPhConnectInd_ts* phConnectInd ) ; typedef void ( *plgPhReadyToSendInd_t ) ( plgPhReadyToSendInd_ts* phReadyToSendInd ) ; typedef void ( *plgPhDataInd_t ) ( plgPhDataInd_ts* phDataInd ) ; typedef void ( *plgRtl1DownlinkDataInd_t ) ( plgRtl1DownlinkDataInd_ts *rtl1DownlinkDataInd ) ; typedef void ( *plgL1AlStatusInd_t ) ( plgL1AlStatusInd_ts *l1AlStatusInd ) ; typedef void ( *plgL1GSMInitialize_t ) ( void ) ; typedef void ( *plwCphyRlSetupCnf_t ) ( rlSetupCnf_ts *rlSetupCnf , Int8 simId ) ; typedef void ( *plwCphyRlReleaseCnf_t ) ( rlReleaseCnf_ts *rlSetupCnf , Int8 simId ) ; typedef void ( *plwCphyRestoreWcdmaCnf_t ) ( restoreWcdmaCnf_ts *restoreWcdmaCnf , Int8 simId ) ; typedef void ( *plwCphyModifyDpchCnf_t ) ( statusInd_te modifyCnf , Int8 simId ) ; typedef void ( *plwSttdModifyCnf_t ) ( Bool sttd , Int8 simId ) ; typedef void ( *plwCphySyncInd_t ) ( Int8 simId ) ; typedef void ( *plwCphyOutOfSyncInd_t ) ( Int8 simId ) ; typedef void ( *plwCphyPsSyncInd_t ) ( Int8 simId ) ; typedef void ( *plwCphyPsOutOfSyncInd_t ) ( OutOfSyncCause_te OutOfSyncCause , Int8 simId ) ; typedef void ( *plwTrChConfigCnf_t ) ( trChList_ts *trChConfigCnf , Int8 simId ) ; typedef void ( *plwCphyIntraFreqCellMeasurementInd_t ) ( intraFreqCellMeasInd_ts *intraFreqCellMeasInd , Int8 simId ) ; typedef void ( *plwCphyInterFreqCellMeasurementInd_t ) ( interFreqCellMeasInd_ts *interFreqCellMeasInd , Int8 simId ) ; typedef void ( *plwCphyTrchBlerMeasurementInd_t ) ( trchBlerInd_ts *trchBlerInd ) ; typedef void ( *plwCphyUeTxPowerMeasurementInd_t ) ( txPowInd_ts *txPowInd , Int8 simId ) ; typedef void ( *plwCphyUeRxTxTimeDiffMeasurementInd_t ) ( ueRxTxTimeDiffInd_ts *rxTxTimeDiffInd , Int8 simId ) ; typedef void ( *plwCphyFreqScanInd_t ) ( freqScanInd_ts *freqScanInd , Int8 simId ) ; typedef void ( *plwCphyCellMeasOnRachInd_t ) ( cellMeasIndOnRach_ts *cellMeasInd , Int8 simId ) ; typedef void ( *plwCphyMeasuredIntraFreqCellsInd_t ) ( measuredCellsInd_ts *measuredCellsInd , Int8 simId ) ; typedef void ( *plwCphyMeasuredInterFreqCellsInd_t ) ( measuredCellsInd_ts *measuredCellsInd , Int8 simId ) ; typedef void ( *plwCphyDetectedCellMeasInd_t ) ( interFreqCellMeasInd_ts *interFreqCellMeasInd , Int8 simId ) ; typedef void ( *plwCphyIntraFreqRssiInd_t ) ( INT8 rssiInd ) ; typedef void ( *plwCompressedModeErrorInd_t ) ( cmErrorInd_ts *cmErrorInd , Int8 simId ) ; typedef void ( *plwCphyCompressedModePatternEndedInd_t ) ( cmPatternEndedInd_ts *cmPatternEndedInd , Int8 simId ) ; typedef void ( *plwCphyDeactivateCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyHoldWcdmaCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyStopWcdmaCnf_t ) ( void ) ; typedef void ( *plwSetFachOccasions_t ) ( void ) ; typedef void ( *plwCphyCellLockCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyEndOfDrxMeasurementInd_t ) ( endOfDrxMeasurementInd_ts *EndOfDrxInd , Int8 simId ) ; typedef void ( *plwCphyIntraFreqTooManyCellsInd_t ) ( Int8 simId ) ; typedef void ( *plwCphyResumeCnf_t ) ( resumeCnf_ts *resumeCnf , Int8 simId ) ; typedef void ( *plwCphyDsPagingFailureInd_t ) ( dsPagingFailureInd_ts *dsPagingFailureInd , Int8 simId ) ; typedef void ( *plwDsSuspendInd_t ) ( dsSuspendInd_ts *dsSuspendInd , Int8 simId ) ; typedef void ( *plwCbsLevel2Scheduling_t ) ( UINT8 *periodId , Int8 simId ) ; typedef void ( *plwCbsLevel2PeriodEnded_t ) ( UINT8 *periodId , Int8 simId ) ; typedef void ( *plwCphyCbsSwitchedToL1SchedulingRxInd_t ) ( Int8 simId ) ; typedef void ( *plwErrorInd_t ) ( plwErrInd_e errType ) ; typedef void ( *plwCphyCpcConfigCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyT319ExpiryInd_t ) ( Int8 simId ) ; typedef void ( *plwPhyDdrAckInd_t ) ( BOOL *ddrAckArrived ) ; typedef void ( *plwGsmRssiMeasInd_t ) ( plwGsmRssiMeasInd_ts *gsmRssiMeasInd , Int8 simId ) ; typedef void ( *plwGsmRssiScanInd_t ) ( plwGsmRssiScanInd_ts *pGsmRssiScanIndStruct , Int8 simId ) ; typedef void ( *plwGsmBsicDecodeInd_t ) ( plwGsmBsicDecodeInd_ts *gsmBsicDecodeInd , Int8 simId ) ; typedef void ( *plwGsmMultiBcchDecodeInd_t ) ( plwGsmMultiBcchDecodeInd_ts *gsmMultiBcchDecodeInd , Int8 simId ) ; typedef void ( *plwGsmBcchDecodeInd_t ) ( plwGsmBcchDecodeInd_ts *gsmBcchDecodeInd , Int8 simId ) ; typedef void ( *plwGsmBcchDecodeErrorInd_t ) ( plwGsmBcchDecodeErrorInd_ts *gsmBcchDecodeErrorInd , Int8 simId ) ; typedef void ( *plwCphyDrxHsdpaDecodeErrorInd_t ) ( void ) ; typedef void ( *plwCphyRssiScanCnf_t ) ( plwPlmsRssiScanCnf_ts *RssiScanCnf , Int8 simId ) ; typedef void ( *plwCphyRssiScanAbortCnf_t ) ( plwPlmsRssiScanAbortCnf_ts *numOfTimesRssiScanStarted , Int8 simId ) ; typedef void ( *plwCphyDrxFindLteCellCnf_t ) ( plwCphyDrxFindLteCellCnf_ts *drxFindLteCellCnf , Int8 simId ) ; typedef void ( *plwCphyDrxFindLteCellAbortCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyMonitorLteCellInd_t ) ( plwCphyMonitorLteCellInd_ts *monitorLteCellInd , Int8 simId ) ; typedef void ( *plwEwiUtranBchDecodeInd_t ) ( plwEwiUtranBchDecodeInd_ts *utranBchDecodeInd , Int8 simId ) ; typedef void ( *plwEwiUtranBchDecodeAbortCnf_t ) ( Int8 simId ) ; typedef void ( *plwCphyIratGapInd_t ) ( plwCphyIratGapInd_ts *iratGapInd , Int8 simId ) ; typedef void ( *plwCphyIratGapStopReq_t ) ( void ) ; typedef void ( *plwPhyAccessCnf_t ) ( randomAccessStatus_te status , UINT8 simId ) ; typedef void ( *plwPhyUplinkDataSync_t ) ( plUlDataSync_ts* ulDataSync , UINT8 simId ) ; typedef void ( *plwPhyUplinkDataTransferEnd_t ) ( dataTransferEnd_ts *dataTransferEnd , UINT8 simId ) ; typedef UINT8 * ( *plwPhyDataInd_t ) ( plDataIndHeader_ts *PhyDataInd , UINT8 simId ) ; typedef void ( *plwPhyDownlinkDataTransferEnd_t ) ( dataTransferEnd_ts *dataTransferEnd , UINT8 simId ) ; typedef void ( *plwPhyTtiInfoInd_t ) ( plTtiInfo_ts *ttiInfo ) ; typedef void ( *plwPhyHsDataInd_t ) ( plHsDataIndHeader_ts *phyHsDataInd , UINT8 simId ) ; typedef void ( *plwPhyHsUnassignPointerInd_t ) ( void ) ; typedef void ( *plwPhyEdchRxChDataInd_t ) ( void ) ; typedef UINT32 emptySignal ; //ICAT EXPORTED STRUCT typedef struct { UINT16 minFrequency ; UINT16 maxFrequency ; } uBand_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 SimID ; UINT8 syncID ; // Number of frequency UE should scan during finding cell UINT8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 UINT8 numOfBand ; // FFT mode or RSSI mode UINT8 scanMode ; UINT8 additionalFreqRepFlg ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // 0 : need not report additional freq ; 1 : need to report ; Only valid in Band mode // UINT8 additionalFreqRepFlg ; // UINT8 padding ; // frequency list UINT16 freqList [ 32 ] ; // Band information uBand_ts bandList [ 1 ] ; } WbFreqScanReq; typedef UINT8 findCellMode_te ; //ICAT EXPORTED STRUCT enum findCellMode_values { INITIAL_CELL_SEARCH = 0 , OUT_OF_SERVICE = 1 , BETTER_PLMN_SEARCH = 2 , RESERVED0 = 3 , RESERVED1 = 4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // Cell search mode , INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; // the band index that the measUARFCN belong to UINT8 bandIndex ; UINT8 padding ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // the current freq ; for plp debug UINT16 acqFreq ; } WbSetAcqReq; //ICAT EXPORTED STRUCT typedef struct { // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; // Cell search mode: INITIAL_CELL_CEARCH / OOS mode / Plmn Search findCellMode_te findCellMode ; UINT8 padding ; } WbSetAcqNext; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; } WbAcqAbortReq; //ICAT EXPORTED STRUCT typedef struct { // 0 : freq scan resume ; // 1 : acq resume UINT8 resumeType ; // INITIAL_CELL_CEARCH / OOS mode / Plmn Search , only valid in acq resume scenario findCellMode_te findCellMode ; // valid in DualSim or plmn search ; in ms? ; plp will stop the Acq and release RF before gapLen is reached ; UINT16 gapLen ; } WbAcqResumeReq; //ICAT EXPORTED STRUCT typedef struct { // The mps report period , in slot UINT16 mpsReportPeriod ; // The bss report period , in slot UINT16 bssReportPeriodFactor ; // 0 :intra ; // 1 :intra SCC ; // 2 : inter UINT8 measType ; UINT8 padding [ 3 ] ; } WbMeasParaSetReq; typedef UINT8 redTimeDiffToCellAccuracy_te ; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // STTD indicator , 0 : no diversity , 1 : STTD UINT8 sttdInd ; // Indicate whether refTimeDiffToServCell contains valid information , only valid in BSS UINT8 refTimeValid ; // Reference time of cell , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT16 cellRefTime ; // 3 bits , in 1 / 8 chip resolution , always valid in MPS ; In BSS , whether valid depends on ' refTimeValid ' UINT8 cellRefTimeSamp ; // 25.331000 : 10.300000 .7.60 , only valid in BSS redTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; } measCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // 0 :period ; 1 :one-shot UINT8 oneShotFlg ; // 0 :no detect ; // 1 : need detect UINT8 detectCellFlg ; // intra PCC ; intra SCC ; inter f1 ; inter f2 ; UINT8 measFreqFlag ; // freq info UINT16 measUARFCN ; // the band index that the measUARFCN belong to UINT8 bandIndex ; // number of cell in request UINT8 numOfCell ; // Array of intra frequency cells to perform the measurement action on measCellInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchReq; //ICAT EXPORTED STRUCT typedef struct { // Array of intra frequency cells to perform the measurement action on measCellInfo_ts measCellInfo ; INT16 mpsWinStartOffset ; UINT8 mpsWinLen ; UINT8 padding ; } measMpsInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; UINT8 measFreqFlag ; // intra PCC ( for all measurement in idle ) ; intra SCC ( means inter-freq meas on the adjacent uarfcn without CM ) ; inter f1 ; inter f2 ; UINT8 extendedFlag ; // true: this command is an extended MPS ( i.e. urgent MPS ) UINT8 enablePiReceiveFlag ; // true: this command is sent to start serving cell one shot mps for pi receiption , plp msr will get the mps results from tracker. UINT8 oneShotFlg ; // 0 :period ; 1 :one-shot UINT8 numOfCell ; // number of cell in request UINT8 bandIndex ; // the band index that the measUARFCN belong to UINT16 measUARFCN ; UINT16 monitorSetBitmap ; // each bit indicates one cell ' s belonging , 1 : monitor set ; 0 :active set // Array of intra frequency cells to perform the measurement action on measMpsInfo_ts measMpsInfo [ 16 ] ; } WbMeasCpichSearchReq; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. UINT8 searchID ; // 0x01 to abort BSS , 0x02 to abort MPS , 0x03 to abort bss and mps UINT8 abortTaskInd ; // 0x01 to abort intra , // 0x02 to abort adjacent inter without CM , // 0x04 to abort inter Low , // 0x08 to abort inter High , // 0x0f to abort all UINT8 abortFreqInd ; // 0 : need not ack ; 1 : need ack UINT8 ackNeeded ; // add abort uarfcns for readability // abortUarfcn [ 0 ] the intra uarfcn to abort , // abortUarfcn [ 1 ] the adjacent inter uafcn without CM to abort , // abortUarfcn [ 2 ] the inter-low uarfcn to abort , // abortUarfcn [ 3 ] the inter-high uarfcn to abort , UINT16 abortUarfcn [ 4 ] ; } WbSearchAbortReq; //ICAT EXPORTED STRUCT typedef struct { // Set / Reset indication bit. 1 = Set the FACH occasions // 0 = Terminate the active FACH occasions ( only immediate termination is supported ) . UINT8 setResetFlag ; // Max TTI : 0 = 10 ms , 1 = 20 ms , 10 = 40 ms , 11 = 80 ms UINT8 maxTti ; // index of measurement Cycle. Mreq = 2 ^k , k : Range [ 1 ..12 ] UINT8 k ; // debug message bit. " 1 " => The FOM will produce a debug message each time the FO task is triggered ( for more details see the debug command specification ) . UINT8 debugFlag ; // FO Task ' s back off value ( due to PRACH ) , in Q1 resolution [ frames ] : // 0 = illegal value , 1 = the FO task runs 1 / 2 frame before the gap. // 10 = the FO task runs 1 frames before the gap. // 11 = the FO task runs 1.500000 frames before the gap. // 100 = the FO task runs 2 frames before the gap ( default value by L1 ) . // 101 - the FO task runs 2.500000 frames before the gap. // need or not or default value set discussed with ICS? UINT8 fachBackOffVal ; UINT8 reserved ; // CRNTI or HRNTI , 0 ..4095 UINT16 rnti ; } WbSetFachOccasionReq; //ICAT EXPORTED STRUCT typedef struct { // word1 // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , only used for deactivation UINT16 activationFrameNumber ; // TGPSI. Value range: 0 - 7 // Note : PTK convert TGPSI to TGMP-1 , because PS does ' t do two measurement with the same purpose. UINT8 tgpsIdentifier ; // TGPS Status: 0 - deactivate , 1 - activate , 2 - don ' t reactivate , 3 - reactivate UINT8 tgpsStatusFlag ; // word2 // Transmssion Gap Measurement Purposes // 0 = Use the pattern for FDD measurements. 1 = Use the pattern for GSM RSSI measurements. // 10 = Use the pattern for GSM BSIC decoding. 11 = Use the pattern for GSM BSIC confirm // 100 = Use the pattern for E-UTRA measurements. UINT8 l1Tgmp ; // Transmssion Gap Starting Slot Number // The slot num of the first transmission gap slot within the TGCFN , Integer ( 0 ... 14 ) UINT8 l1Tgsn ; // Transmssion Gap Pattern Repetition Count // This is the num of TG patterns within the TGPS , Integer ( 1 ... 511 , 0 means Infinity ) UINT16 l1Tgprc ; // word3 // The length of the first Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 3 ... 14 ) UINT8 l1Tgl1 ; // The length of the second Transmission gap within the Transmssion Gap Pattern expressed in number of slots // Integer ( 0 ... 14 ) , 0 means no second Transmission gap UINT8 l1Tgl2 ; // Transmssion Gap Distance // The number of slots between starting slots of two consecutive transmission gaps within // a transmission gap pattern. If there ' s only one gap in the TGP , shall be set " undefined " // Integer ( 15 ... 269 , 0 means undefined ) UINT16 l1Tgd ; // word4 // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 1 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl1 ; // Transmission Gap Pattern Length // This is the duration of transmission gap pattern 2 , expressed in number of frames // Integer ( 1 ... 144 ) UINT8 l1Tgpl2 ; // Recovery Period Power control mode // specifies the uplink power control algorithm applied during recovery period after each transmission gap in compressed mode. UINT8 l1Rpp ; // Initial Transmit Power mode // selects the uplink power control method to calculate the initial transmit power after the gap UINT8 l1Itp ; // word5 // UL / DL compressed mode selection // This parameter specifies whether compressed mode is used in UL only , DL only or both UL and DL UINT8 l1UlDl ; // DL compressed mode method , 0 = SF / 2 , 1 = Higher layer scheduling 10 = Puncturing UINT8 dlCompModeMethod ; // UL compressed mode method , 1 = Higher layer scheduling 10 = SF / 2 UINT8 ulCompModeMethod ; // downlink frame type // This parameter defines if frame structure type ' A ' or ' B ' shall be used in downlink compressed mode. UINT8 dlFrameType ; // word6 // For DL power controls // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the first transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir1 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the first transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter1 ; // Delta in DL SIR target value to be set in the UE during the frame containing the start of // the second transmission gap in the transmission gap pattern // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSir2 ; // Delta in DL SIR target value to be set in the UE one frame after the frame containing the // start of the second transmission gap in the transmission gap pattern. // Integer ( 0 ... 30 ) to represent Real ( 0 ..3 by step of 0.100000 ) UINT8 deltaSirafter2 ; // word7 // Indicates the maximum number of repeats of patterns that the UE shall use to attempt to decode the // unknown BSIC of the GSM cell in the initial BSIC identification procedure // Integer ( 1 ..128 ) UINT8 nldentifyAbort ; // Indicates the maximum time allowed for the re-confirmation of the BSIC of one GSM cell in // the BSIC re-confirmation procedure. The time is given in steps of 0.500000 seconds. // Integer ( 0 , 5 , 10 , ... , 95 , 100 ) to represent Real ( 0.500000 ..10.0 by step of 0.500000 ) UINT8 tReconfirmAbort ; // The following are only used for CM reconstruction // counters Rollover: 0 = No 1 = Yes , just for debug , can be deleted? UINT8 counterRollOver ; // buffer index for given TGPSI pattern 0 = Buffer 0 1 = Buffer 1 UINT8 bufferIdx ; // word8 // Current pattern working ping-pong buffer flag UINT8 bufferSel ; // deactivation request: 0 = A deactivation request was not issued for this pattern. 1 = A deactivation request was issued for this pattern. UINT8 deActiveReqFlag ; // deactivate SFN , 0 ~4096 , 4096 means ' now ' UINT16 deActiveSfn ; // word9 // First gap counter in the pattern UINT16 firstGapCnt ; // Second gap counter in the pattern UINT16 secondGapCnt ; } tgpsPatternInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // number of TGPS. Value range: 0 - 5 . Set to ' 0 ' to indicate pattern reconstruction. // Note PTK Convert this value according to TGPS Status. UINT8 numOfTgps ; // pattern reconstruction Command Index 0 , 1 , only used when numOfTgps = 0 // 0 means first command , 1 means second command // Upon receive the second command , the PLP can reconstruct CM patterns and issue COMPRESSED_MODE_RECONSTRUCTION_COMPLETE report UINT8 reconstructionFlag ; // The last processed SFN by the gap table update function , only used when numOfTgps = 0 UINT16 lastProcSfn ; // Gap Pattern Information tgpsPatternInfo_ts tgpsInfo [ 6 ] ; } WbSetCompressedModeReq; typedef WbSetCompressedModeReq WbSetCompressedModeReConstrutReq ; //ICAT EXPORTED STRUCT typedef struct { // 0 -No action , 1 -Add , 2 -Delete , 3 -Update ( Reconfigure ) , 4 -Replace UINT8 cellAction ; // CellId Allocation for MPS , 0 ~8 UINT8 cellId ; // downlink Uarfcn , range 0 ~16383 UINT16 dlUarfcn ; // Scrambling code , 0 ~8191 UINT16 scrambCode ; // channel code number , 0 ~255 UINT8 chanCode ; // 0 : No diversity , 1 : STTD UINT8 sttd ; // secondary cell indication. 0 : primary cell. 1 : secondary cell UINT8 isSecondaryCell ; UINT8 reserved0 ; // the received channel Bitmap in this cell. each bit indicates one channel. see phyChBitmapMask_values // bit0:PCCPCH bit1:SCCPCH_CH bit2:AICH_CH bit3:PICH_CH // bit4:CBS_CH bit5:DPCH_CH bit6:HSDPA_1_CH bit7:HSDPA_2_CH // bit8:EDCH_1_CH bit9:EDCH_2_CH bit10:EDCH_3_CH bit11:EDCH_4_CH // bit12:EDCH_5_CH bit13:EDCH_6_CH bit14:TC_HSSCCH_CH bit15:SECONDARY_CELL_CH UINT16 receivedChannels ; // the Hs serving cell Id // UINT8 hsServingCellId ; /*/ / P+S ( MIMO ) Enable Flag. 0 : no P+S , 1 : P+S UINT8 combPhaseRefFlag ; // P+S , ChanCode for S-CPICH UINT8 secPhaseRefChanCode ; // power offset between P and S , range ( -6 , 0 ) , step by 1 dB. UINT8 powerOffsetScpich ; UINT8 reserved0 ; */ } cellActionDescriptor_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. only used for cell-replace and serving cell change scenario UINT16 activationFrameNumber ; // it is used for serving cell change in dpch modify scenario , indicates need additional ( hsupa or hsdpa operation ) UINT8 simID ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // UINT8 searchId ; // number of cell UINT8 numOfCell ; // 0 : reference cell change determined by PLP. 1 : use cellId = refCellId as reference. ( HHO... ) // UINT8 refCellChgInd ; // refence cell Id , range 0 ~7 UINT8 refCellId ; // related with SFN update and referce cell Change , SFN Operation ( SFN update , SFN backup , SFN restore , double-Sfn // 0 : No refence cell change by high layer command , note : refer // 1 : SETUP_NORMAL , SFN Operation ( 1 , 0 , 0 , 0 ) // 2 : SETUP_HHO_TM , SFN Operation ( 0 , 0 , 0 , 1 ) // 3 : SETUP_HHO_TI , SFN Operation ( 1 , 1 , 0 , 0 ) // 4 : SETUP_HHO_FAILURE_TM SFN Operation ( 0 , 0 , 0 , 1 ) // 5 : SETUP_FAILURE_TI SFN Operation ( 1 , 0 , 1 , 0 ) // 6 : SETUP_HHO_FAILURE_INTER_RAT SFN Operation ( 0 , 0 , 0 , 0 ) // 7 : SETUP_AFTER_FACH_FAILURE SFN Operation ( 1 , 0 , 1 , 0 ) // 8 : SETUP_CELL_RESELECT SFN Operation ( 1 , 0 , 0 , 0 ) // 9 : OOS_RELEASE_ALL no Sfn Opeartion. all reset ( out-of-service ) // 10 : SETUP_INTER_BCH no Sfn Operation. // 11 : ASU no Sfn Operation. it is used for activation time not equal to now UINT8 scenario ; // It is used for indicate the HS serving cellID UINT8 hsServingCellId ; UINT8 hsSecondaryServingCellId ; UINT8 initTMDbFlag ; UINT8 rrcState ; // timer used Forced mps search , stoped at any ( reference ) cell get offline-searcher result. // if when timer expired and plp can ' t get offline searcher result , plp should setup mps with 0 ( timing-offset ) // 0 : means not used. other values : N* ( 10 ms ) . UINT16 timerForDummyPathSet ; cellActionDescriptor_ts cellInfo [ ( 6 +2 ) +1 ] ; // for R8 , WB_MAX_RL_NUM = 8 , is not same with PLP define } WbSetActiveCellActionCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates reconfigure , used for STTD_MODIFY , 0 : no reconfig , 1 : sttd reconfigure // note : only diversity mode will change from sttd->no diversity , which will be reconfigure // at frame boundary as soon as possible. // UINT8 recfgFlag ; // Scrambling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SFN-SFN or SFN-CFN measurements reporting flags // 0 - Don ' t report the SFN-SFN or SFN-CFN measurements. // 1 - Report the SFN-SFN measurements. // 2 - Report the SFN-CFN measurements. UINT8 sfnMeasurementReport ; // endless BCH shift till 1 st good CRC or release PCCPCH UINT8 endlessBchShiftInd ; // maximum numbers of shift to do , maxvalue = 0x7FF // serving cell with / without sfn upadte , maxShift = 14 // HHO , t_312 *SEC_TO_FRAMES - DPCH_FRAMES_FROM_PCCPCH_END_SHIFTS // Other Secieros : Continue BCH From Other Rat ( 3 ) , // Xfn measurement: 3 or 5 ( default value ) UINT16 maxNumOfShift ; // reconfig } WbSetPccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) UINT16 activationFrameNumber ; // This bit indicates if the SCCPCH has to be established according to the activation time or according to PI= ' 1 ' . // SccpchUsage - 0 . ( Cell_FACH ) The SCCPCH has to be established at the activation time as the command indicates. // SccpchUsage - 1 . ( CELL_PCH / IDEL ) The PLP will ignore the activation time and will store the SCCPCH parameters. // Whenever the PI= ' 1 ' the SCCPCH will be established with the parameters indicated by this command ( exludes the activation time ) . UINT8 sccpchUsage ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Delete Parameters listed // 0 : Primary antenna , 1 : Secondary antenna , 10 : RX diversity , 11 : MIMO // UINT8 receiverType ; // Scrambling Code number of the PCPICH channel to be use for channel estimation. This parameter indicates which trackers are used for the SCCPCH de-spreading // UINT16 refScramblingCode ; } WbSetSccpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // CBS Frame Offset ( K ) . Integer number of radio frames [ 0 ..255 ] // multiple of FACH ( CBS ) TTI ( M_TTI ) . 0 <= K <= ( N-1 ) UINT8 cbsFrameOffset ; // CBS Occasion Period ( N ) . Period of the CBS reception cycle. [ 1 ..256 ] radio frames UINT16 cbsOccasionPeriod ; // CBS SM ( scheduling message ) period ( subset of L1 scheduling ) ( N ) . Period of BMC scheduling messages. // ranger : Integer [ 8 , 16 , 32 , 64 , 128 , 256 ] ( BlockSet ) // 0 indicate no SM period exist , if SM period exist , L1 only receive SM from K + m*P*N ( m = 0 , 1 ... ) to K + m*P*N + N..... UINT16 cbsSmPeriod ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // SCCPCH channelization code. range 0 ~SF-1 UINT8 chanCode ; // Time Offset of pilot symbols in relation to PCPICH frame used for channel estimation. // The unit is of 256 chips and the range covered is of one radio frame ( 0 -149 ) . UINT8 timeOffset ; // SCCPCH Slot Format , range 0 ~17 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 slotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing // Different with PTK : Change reason for Used Simply ( match with defination ) . UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; UINT8 reserved1 ; } WbSetSccpchForCbsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Level2 scheduling control // 0 = Start Level2 scheduling according to configuration // 1 = Stop current Level2 scheduling and return to Level1 scheduling // 10 = Pause CBS reception ( used for DRAT BCCH decoding ) // 11 = Resume CBS reception ( used for DRAT BCCH decoding ) // Note: In case of Start , Stop , and Resume , only DATA0 with bits 0 -7 is sent in CBS_LEVEL_2_SCHEDULING_ACK. UINT8 l2ScheduleCtrl ; // Period ID , not used in current verison UINT8 periodId ; // Number of reception periods , ( number of " ones " in the Offset bit map ) UINT8 numOfRxPeroid ; // The following is only used for CBS_LEVEL_2_SCHEDULING_ACK in case of Pause // Number of L2s ( Level 2 Scheduling ) commands received & under handling. UINT8 numOfL2SCmdsInQuene ; // Number of Trailing zeros : = NumOfBSInSchedulingPeriod - last-Scheduled_Period , 9 bit ? UINT16 numOfTrailingZeros ; // Reception period start SFN. UINT16 rxPeriodStartSfn ; // This Bit map indicates which CBS event should be received. // When the bit is SET it indicated that this Block Set should be received. // The LSB of each word relates to the earlier frame in time ( e.g DATA2 , Bit0 refers to Reception Period Start SFN ) // UINT16 l2SOffsetBitMap [ 32 ] ; /* Can L2SOffsetBitMap be replaced with the following ? / / Indicates the CTCH Occasion to be decoded. UINT8 rxPeriodOffset [ 256 ] ; / / Indicates the start of the next period relative to the reference Sfn UINT16 NextPeriodOffset ; Or replaced with the following */ // This Bit map indicates which CBS event should be received. UINT16 l2SOffsetBitMap [ 32 ] ; // Indicates the start of the next period relative to the reference Sfn UINT16 nextPeriodOffset ; // The following are used for both CBS_LEVEL_2_SCHEDULING_ACK in case of Pause and SET_LEVEL_2_SCHEDULING in case of Resume // Indicates L2S Pause command frame number UINT16 l2SchedulePauseCmdSfn ; // Indicates L2S Pause command super frame number UINT16 l2SchedulingMultiSfnCount ; // Next CBS activation super frame number UINT16 rxPeriodStartMultiSFN ; // PLP report L2S command type UINT8 reportType ; UINT8 reserved1 ; } WbSetCbsL2ScheduleCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 RESERVED [ 3 ] ; // Activation Frame Number / Occasiion. The System Frame Number ( SFN ) that first Paging Indicator should be monitored. // The units are radio frames in a range of 0 -4095 frames. // for pich , it represent the first occasion of PI after current time ( margin 3 frames ) . UINT16 activationFrameNumber ; // Paging reconfiguration flag. UINT8 pagingReconfigFlag ; // DRX Cycle Index. This index determines the DRX Cycle Length according to the following // equation:DRX_Cycle_length = 2 DRX_Cycle_Index range 3 ~9 UINT8 drxCycle ; // Scramling Code Number 0 -8191 UINT16 scramblingCode ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 diversity ; // CellId Allocation for PCCPCH , also indicates the group of PCPICH channel to be use of channel estimation. // replace of old structure parameters ( cpichScrambling Code ) UINT8 cellId ; // PICH channelization code. UINT8 chanCode ; // Paging Indicator that is monitored in the Paging Occasion frame , range 0 ~Np-1 UINT8 pagingInd ; // Number of Paging Indicators. 0 = Np=18 1 = Np=36 10 = Np=72 11 = Np=144 UINT8 Np ; // Power Offset. This is the power per transmitted Paging Indicator minus power of the Primary CPICH. // Range 0 ~15 indicates [ -10 , 5 ] dB in a step of 1 dB. // 0 = -10dB , 1 = -9dB ...1111 = 5 dB UINT8 powerOffset ; // Note : timingOffset must derived from related hsdpa or sccpch } WbSetPichCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Scramling Code Number 0 -8191 UINT16 prachScramblingCode ; // The number of available RACH Message Spreading Factors. range 0 ~3 indicates Minimum SF ( 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { SF256 , 128 } 2 : { SF256 , 128 , 64 } 3 : { SF256 , 128 , 64 , 32 } UINT8 numOfAvailableSf ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // maximum power level allowed by UTRAN for UE. Range [ -55 , 33 ] dbm , refer to 10.300000 .6.39 // In PTK , it use in Q3 format , maxUlTxPower = realValue * 8 . step is 1 / 8 dBm. ( change or not ) ? // revised: the maxUlTxPower is from 2 sources: RRC and NVM. But the NVM code is also used in the precision of 1 dB. As a result , the may be changed. INT16 maxUlTxPower ; // initial preamble Tx power: initPreambleTxPower = txInitPower - CPICH RSCP , ref to 25331 8.500000 .7 // txInitPower:primaryCPICH Tx Power+UL interference+constant value , range [ -155 , -30 ] dbm INT16 initPreambleTxPower ; // The power ramp step when no acquisition indicator is received. // The level range is between 1 dB - 8 dB ; in 1 dB steps , ref to 25331 10.300000 .6.54 UINT8 powerRampStep ; // Maximum Preamble retransmissions , Range ( 1 ..64 ) , ref to 25331 10.300000 .6.54 UINT8 preambMaxRetransNum ; // Available RACH sub channels. UINT16 availableSubChannelNum ; // Available preamble signatures , // Bit0 0 = Signature 0 is not available. 1 = Signature 0 is available. // ........... // Bit15 0 = Signature 15 is not available. 1 = Signature 15 is available. UINT16 availableSignature ; // ECF UL AI Signature at Base. Note : availableSignature is the subset of commonEdchAvailableSignature. // use this value to calculate the common edch resource index UINT16 commonEdchAvailableSignature ; // RRC State ( SET PRACH for ECF or for Legacy ) 0 : Normal Prach , 1 : Enhanced Uplink Prach UINT8 targetRrcState ; // Pp-m - The power offset between preamble and message. // note : if enhanced UL , it represent Pp-e UINT8 msgPreamblePowOffset ; // Scramling Code Number 0 -8191 UINT16 aichScramblingCode ; // AICH channelization code. UINT8 aichChanCode ; // AICH Transmission Timing set. // 0 = Set 0 : t_p-p , min = 3 access slots , t_p-a = 7680 chips , t_p-m = 3 access slots. // 1 = Set 1 : t_p-p , min = 4 access slots , t_p-a = 12800 chips , t_p-m = 4 access slots UINT8 aichTimingSet ; // Divesity. Indicates if the physical channel has duversity mode or not. // 0 - Normal mode. 1 - STTD mode. UINT8 aichDiversity ; // Power Offset: This is the power per transmitted Acquisition Indicator minus the power of the Primary CPICH. // The offset range is between C22dB to 5 dB in two complement format INT8 aichPowerOffset ; // Is EAI SET is configured. 0 : EAI is not used , 1 : EAI is used UINT8 eaiIndication ; // CellId Allocation for Aich , also indicates the group of PCPICH channel to be use of channel estimation. // ? Add for support cellId~=0 case for AICH UINT8 cellId ; } WbSetPrachAichCmd; //ICAT EXPORTED STRUCT typedef struct { // UL scrambling code , Integer ( 0 ...16777215 ) UINT32 ulScramblingCode ; // ( 0 ..9 ) indicates symbol offset , used to calculate t-fdpch. UINT8 sOffset ; // F-DPCH Code number , 0 ~255 UINT8 fdpchChanCode ; // HICH Channel Code , 0 ~127 UINT8 hichChanCode ; // hich signature , 0 ~39 UINT8 hichSignature ; // rgch signature , 0 ~39 UINT8 rgchSignature ; // rgch is configured or not. 0 : not configured , 1 : configured // to be discussed later..... UINT8 rgchIsConfigured ; // reserved UINT16 reserved ; } commEdchRes_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // total number of the common E-dch resource in system info , Range [ 1 ..32 ] UINT8 numOfCommonEdchResource ; UINT16 reserved ; // Note : cellId for Common Edch is the same as AICH commEdchRes_ts CommEdchResouceTab [ 32 ] ; // no value in 331 for GammaValue. // UINT8 EAIDecodingGammaValue ; // UINT8 DecodedEdchCommonTableIndex ; } WbSetCommEdchCmd; //ICAT EXPORTED STRUCT typedef struct { // CellId Allocation for Dpch UINT8 cellId ; // RLs with same index have same TPC and PHICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined UINT8 tpcCombIdx ; // F-DPCH Slot Format , 0 ..9 by step of 1 , ref to 25331 10.300000 .6.23ob UINT8 fdpchSlotFormat ; // Channalization of PCPICH // UINT8 cpichChanCode ; // PCPICH scrambling code number // UINT16 cpichScrambCode ; // indicates current cell is primary cell or secondary cell. 0 : primary 1 : secondary cell UINT8 secCellInd ; // ? replace by reserved bit. // frame offset from the PCCPCH frame timing: Time Offset ( chips ) / 256 chip , { 0 ~149 } UINT16 frameOffset ; // 0 : No diversity , 1 : STTD , 2 : CLTD1 , other values are invalid UINT8 diversityMode ; // 0 : j+1 , 1 : j+2 , only used when CLTD1 UINT8 closedLoopTimingAdjMode ; UINT16 CPICHScramblingCode ; UINT8 CPICHChannelizationCode ; UINT8 reserved0 ; // tfci2Ind // Note : FB only support one Channel Code // Dpch Scrambling Code , 0 ~8191 UINT16 scrambCode [ 3 ] ; UINT16 reserved2 ; // Dpch Channel Code Number UINT8 chanCode [ 3 ] ; UINT8 reserved1 ; // alterate scrambling code , 1 : allow alternative scrambling code in compressed mode SF / 2 . only used for DPCH UINT8 alterScrambCodeIdx [ 3 ] ; UINT8 reserved4 ; } cellDescriptorLacp_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . UINT16 activationFrameNumber ; // indicates cell delete information ( include cell replace ) . // when in SHO , cell delete or replace with cellId k , bit k should set to 1 UINT16 cellDelInd ; UINT8 simID ; // number of cells in command 1 ~8: UINT8 numOfCells ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // command usage , When 1 is set for this bit , the PLP loads LOAD_ACTIVE_CELL parameters at the given activation time in the SET_DPCH command // 0 = Used for DPCH / F-DPCH establishment and soft hand-over // 1 = Used for DPCH / F-DPCH Reconfiguration without syncronization procedure A UINT8 reconfigFlag ; // cell Id of the primary serving HSDPA cell UINT8 hsdpaPriServingCellId ; UINT8 asuFlag ; // when it is set 1 , it is SHO process. ; UINT16 pad2 ; // cell Id of the secondary serving HSDPA cell // Add to support Dual cell // UINT8 hsdpaSecServingCellId ; cellDescriptorLacp_ts cellDB [ 6 ] ; } WbLoadActiveCellCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. // The value 4096 means ' now ' . only valid at sccpchUseg =0 ( CELL_FACH ) // General parameters ( Rx+Tx ) UINT16 activationFrameNumber ; // DPCH Frame Offset - Time Offset of DPCH frame in relation to CPICH frame // of the cell that used as reference Rx before the DPCH establishment // ( The cell on it the REFERENCE_TRACKER is assigned prior to DPCH // establishment ) . The unit is of 256 chips and the range covered is of // one radio frame ( 0 -149 ) . UINT8 frameOffset ; // System Frame Count Offset - Indicates the offset required in the PLP frame // count derived from DOFF parameter given by UTRAN during DPCH connection // establishment or Hard Hanover requests. As effect , frame index reported // by PLP shifted by System Frame Offset. Units are frames in two ' s compliment // format ; the range is ( -8 ) to 0 . // PTK Code : ( -DOFF / 38400 ) INT8 systemFrameCntOffset ; // 0 : DPCH 1 : FDPCH UINT8 fdpchIndication ; // Index to TPC CER target values array , required TPC Command Error Rate defining F-DPCH quality // 1 ~10 indicates 0.010000 ~0.1 , , refer to 10.300000 .6.23oa@331 UINT8 tpcCommandErrRateTarget ; // Reconfiguration flags , only used for DpchModify , withoutSync // bit0 indicates uplink parameters update , bit 1 indicates downlink parameter update // if reConfigFlag>0 , means frameOffset / systemFrameCntOffset and TxinitPow will Not Used // UINT8 reConfigFlag ; // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) // Note: If synchronization procedure A is required , the bits are reset to 0 UINT8 updateDlParams ; // Downlink Parameters // DPCH Slot Format , range 2 ~16 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) UINT8 rxSlotFormat ; // TFCI Existence 1 - TFCI exist , 0 - TFCI not existing ( PTK ) // different with PTK : Change reason , for Used Simply ( match with defination ) UINT8 tfciExist ; // TrCh mapping mode on CCTrCH mux 0 - Fixed position , 1 - Flexible position UINT8 mappingMode ; // Number of ChannelCode // Note : we only support value 1 . UINT8 numOfChanCode ; // power offset between pilot and DPDCH ( PO3 ) , Range [ 0 ..24 ] indcate 0 ..6DB by step of 0.250000 DB // 0 = 0 dB , 1 =0.25dB , ... 11000 = 6 dB UINT8 powOffsetPpilotDpdch ; // uplink parameters // The number of available DCH Spreading Factors. range 0 ~6 indicates Minimum SF ( 4 , 8 , 16 , 32 , 64 , 128 , 256 ) , ref to 25331 10.300000 .6.52 // 0 : only SF256 , 1 : { 256 , 128 } ...... 6 : { 256 , 128 , 64 , 32 , 16 , 8 , 4 } UINT8 numOfAvailableSf ; // DPCH Slot Format , range 0 ~6 , generated by ( spreading factor / pilotSymbolExist / TfciExist ) , in ECF , txSlotFormat = 1 UINT8 txSlotFormat ; // 0 : no uplink Dpdch , 1 : uplink Dpdch UINT8 numOfDpdch ; // Uplink Scrambling Code , range [ 0 ..16777215 ] , 24 bit UINT32 txScrambleCode ; // punturing limit 0.400000 -1 step by 0.040000 , ' 0 ' =0.4 , ' 1 ' =0.44 , ... , ' 1111 ' =1.0 UINT8 puncturingLimit ; // Open loop initial Tx Power of DPCCH , Integer ( -55 , 33 ) dBm , // calculated as : dpcchPowerOffset -CPICH RSCP , dpcchPowerOffset range Integer ( -164 , ... , -6 by step 2 ) , in dB. ref to 25331 10.300000 .6.91 , INT8 txInitPower ; // 0 : cell_Dch , 1 : Ehanced Cell Fach // For PTK code , if this set to 1 , activeationFrameNumber not used UINT8 targetRrcState ; UINT8 simID ; } WbSetDpchCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // The System Frame Number where the transition from previous mode to new mode // will occur - must be at least 1 frame after the current reported System Frame Number. The range is 0 -4095. // if activationFrameNumber = 4096 , it means current no dpch is active , should according later setdpchCmd ' s activtime. UINT16 activationFrameNumber ; // Dpch establishment indication bit. // 0 : use the activation frame number. // 1 : Ignore activation time and set the parameters according to the next SET_DPCH command / SET_PRACH command. // Note: This bit must be set to 1 when this command is sent and there is no DPCH active. // ( i.e. in DPCH Establishment before the SET_DPCH command ) UINT8 dpchEstablishInd ; // uplink power control parameters update. // 0 = Do not use the provided uplink parameters ( no update ) , 1 = Use the provided uplink parameters ( parameters update ) UINT8 updateUlParams ; // downlink power control parameters update. // 0 = Do not use the provided downlink parameters ( no update ) , 1 = Use the provided downlink parameters ( parameters update ) UINT8 updateDlParams ; // Maximum Power Level allowed from UTRAN for Ue.Parameter range: [ -50dBm , +33dBm ] in Q3 , two complement // always consider band and rf informatin in PTK code. // revised: in PTK R8 code , I don ' t see any band or rf information INT8 maxUlTxPower ; // power Control preamble numbers , Npcp , Integer ( 0 , ... , 7 ) UINT8 pcPreambles ; // Power Control mode // 0 = Ordinary Transmit PC , Algorithm 1 ( 1 or 2 dB steps per each slot ) // 1 = Ordinary Transmit PC , Algorithm 2 ( Emulate smaller step sizes than 1 dB ) . UINT8 pcAlgorithm ; // DELTA_TPC for algorithm 1 C The step size TPC is a UE specific parameter , // under the control of the UTRAN that can have the values 1 dB or 2 dB. // Note : different with PTK. we use direct value. ( 1 or 2 ) UINT8 tpcStepSize ; // DL Power Control mode // 0 = The UE sends a unique TPC command in each slot. // 1 = The UE repeats the same TPC command over 3 slots. UINT8 dpcMode ; // Maximum Power Level allowed from UTRAN for Ue. Parameter range: [ -50dBm , +33dBm ] in Q3 , two ' s complement // UINT16 txMaxPower ; ( deleted , the same value with maxUlPower ) } WbSetDpchPowCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Signaled Gain Factor #1 for UL DPCCH beta c1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaC ; // Signaled Gain Factor #1 for UL DPDCH d1. The range is 0 -15. only valid when gainCtrlMod = 1 UINT8 betaD ; // reference TFCI Id , 0 ~63 UINT8 refId ; // 0 = Signaled , no need to compute gain factors. 1 = Computed based on the Reference TFCI UINT8 gainCtrlMode ; // Note : In Ptk Code , tfcId is always from 0 ~numOfTfc-1. so we can ignore this value. // UINT16 tfcId. } powerOffsetInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 reserved0 ; UINT16 reserved1 ; // power offset powerOffsetInfo_ts ulPowerOffset [ 64 ] ; } WbSetUlGainCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // Trch Type , 0 = DL_DCH 1 = PCH or FACH ( SCCPCH ) 10 = FACH_FOR_CBS ( SCCPCH ) UINT8 cctrchType ; // TFCS size. 1 ~128 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; // ---start modified by xiaoxsun , 6 / 4 / 2014 , modify guidingTrChId and guidedByTrCh from variable to array // BTFD Parameters , at most support 3 guiding Trch. // guiding TrCh ID 0 ~7 , 8 : no guiding UINT8 guidingTrChId [ 3 ] ; UINT8 reserved1 ; // Set of TrChs guided by guiding TrCh // bit k indicates if Trch #k is guided : 0 :not guided , 1 : guided UINT8 guidedByTrCh [ 3 ] ; UINT8 reserved2 ; // ---end modified by xiaoxsun , 6 / 4 / 2014 /* / / 2 nd guiding TrCh ID UINT8 guidingTrChId2 ; / / Set of TrChs guided by by 2 nd guiding TrCh UINT8 guidedByTrCh2 ; / / 3 rd guiding TrCh ID UINT8 guidingTrChId3 ; / / Set of TrChs guided by by 3 rd guiding TrCh UINT8 guidedByTrCh3 ; */ // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_DL_TFC_NUM * WB_MAX_DL_TRCH_NUM ] ; } WbSetDlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the transport channel must be established. The range is 0 -4095 UINT16 activationFrameNumber ; // Reconfiguration bit // 0 = No reconfiguration 1 = Reconfiguration without synchronization procedure A. UINT8 reCfgInd ; // MAX_TTI 0 = 10 ms TTI 1 - 20 ms TTI 2 = 40 ms TTI 3 - reserved UINT8 maxTti ; // TFCS size. 1 ~64 UINT8 numOfTfc ; // Number of TrChs. 1 ~8 UINT8 numOfTrch ; UINT16 reserved ; // Tfcs transfered to plp by share memory. // Tfcs Table , // this array is arranged as , { TFC1 ( TF1 , TF2 , .. , TFnumOfTrch ) , ...TFCnumOfTfc ( TF1 , TF2 , .. , TFnumOfTrch ) // UINT8 tfcsTable [ WB_MAX_UL_TFC_NUM * WB_MAX_UL_TRCH_NUM ] ; } WbSetUlTfcsCmd; //ICAT EXPORTED STRUCT typedef struct { // tb size UINT16 tbSize ; // tb number UINT8 numOfTb ; // reserved UINT8 reserved ; } trChTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // indicates Trch Type assoiated with Channel // 0 :DCH_DL 1 :DCH_UL 2 :FACH 3 :PCH 4 :FACH_FOR_CBS // discussed this can be determined by IPC OpCode ( need or not ) . UINT8 trchType ; // 1 = Loop back mode 2 0 = Normal mode , only used for DCH_DL ( TRCH ) UINT8 loodBackMode ; // BLER Target. This value is used for the DL power control mechanism. Signalled value is Log10 ( Transport channel BLER quality target ) // 0 = ( 0 ) , 1 = ( -0.1 ) , 10 = ( -0.2 ) ... 111110 = ( -6.2 ) 111111 = ( -6.3 ) , 1000000 = Does not exist // only used for DCH_DL UINT8 blerTarget ; // data report Flag. used for PCH / FACH / FACH_FOR_CBS // 0 : do not report data from PLP , 1 : data reported from PLP UINT8 reportFlag ; // TrCH Number. Value range 0 to 7 . UINT8 trchNum ; // CRC length 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // code type , 0 = Convolution Decoder 1 = Turbo Decoder 10 = External Decoder [ no coding ] 11 = Reserved UINT8 codeType ; // code Rate , 0 = 1 / 2 , 1 = 1 / 3 UINT8 codeRate ; // Transmission Time Interval ( TTI ) . 0 = 1 frame 1 = 2 frames. 10 = 4 frames. 11 = 8 frames UINT8 tti ; // number of TFI UINT8 numOfTfi ; // Rate matching attribute range 1 ~256 UINT16 rateMatchAttr ; // TFI Information trChTbInfo_ts trchTfiInfo [ 64 ] ; } WbSetTrchCmd; typedef WbSetTrchCmd WbSetDchDlTrchCmd ; typedef WbSetTrchCmd WbSetDchUlTrchCmd ; typedef WbSetTrchCmd WbSetFachTrchCmd ; typedef WbSetTrchCmd WbSetPchTrchCmd ; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the loop back mode 2 has to started or terminated. The range is 0 -4096. // The value 4096 means now , and the loop back mode will started ( or terminated ) at the next TTI boundary of the transport channel. UINT16 activationFrameNumber ; // TrCh Type: 0 -Reserved 1 -DCH 10 -FACH 11 -PCH 100 -DSCH UINT8 trchType ; // TrCh ID value range 0 -7 UINT8 trchId ; // Set / Reset Indication 0 = Terminate Loop Back Mode 2 operation 1 = Activate Loop Back Mode 2 operation UINT8 loopBackModeEnable ; UINT8 simID ; UINT16 reserved ; } WbSetLoopBack2Cmd; //ICAT EXPORTED STRUCT typedef struct { // Cell ID ( 0 -5 ) ( only 0 is ECF UL ) Note: The same ID as the cell in the MPSReq. UINT8 cellId ; // Indicates if this cell ( this Cell ID ) is being replaced or not - valid only for ActiveSetUpdate scenarios. // 0 = RL not Replaced or RL setup. 1 = RL Replaced Cells that will be set to VIRTUAL_CELLs should always be indicated as " RL replaced " // Note : In PTK Code now only 0 is used. UINT8 cellReplaceInd ; // chanCode used for hich & rgch. SF = 128 UINT8 chanCode ; // signature Sequence index for HICH , range [ 0 , 39 ] UINT8 hichSignatureSequence ; // indicates if the RGCH channel exsists on this radio link , 1 : exist , 0 : not exist UINT8 rgchExistence ; // signature Sequence index for RGCH ( if present ) , range [ 0 , 39 ] UINT8 rgchSignatureSequence ; // combine index used in RG combination , range ( 0 ...5 ) // Cells with an index equal to the index of the Serving E-DCH cell belong to the Serving EDCHRLS. // The E-RGCH from these cells have RG commands which for the UE are known to be the same as the // RG commands from the Serving E-DCH cell. UINT8 rgchCombIdx ; // diversity mode 0 : no diverstiy , 1 : STTD UINT8 diversity ; // parameters to deleted // TPC Combining ID UINT8 tpcCombIdx ; // timing offset UINT8 dpchTimingOffset ; // 0 ~8191 , the same as phase refernce scrambling code UINT16 scrambCode ; } rgchHichParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved0 ; // Activation Frame Number.The System Frame Number of the frame at which the establishment / reconfiguration occurs. The range is 0 -4095. // There is no immediate activation time C closest activation time can be current + 2 ( PTK ) UINT16 activationFrameNumber ; // Reconfiguration Indication 0 = Establishment 1 = Reconfiguration including ASU UINT8 reconfigFlag ; // RRC State 0 = CELL_DCH 1 = CELL_FACH UINT8 rrcState ; // E-RNTI Primary , Integer { 0x0 , 0x1 , ... , 0xFFFF } UINT16 eRntiPrimary ; // E-RNTI Secondary , Integer { 0x0 , 0x1 , ... , 0xFFFF } // If only E-RNTI Primary is sent by the NW , E-RNTI Secondary will be set to the same value as E-RNTI Primary UINT16 eRntiSecondary ; // TTI Size , 0 - TTI=2ms. 1 - TTI=10ms UINT8 ttiSize ; // Index to the serving cell DL RL sent in the Downlink Parameters Per RL below ( 0 ..3 ) // NOTE: Only one cell can be the serving E-DCH cell. There must always be a serving cell configured. The serving E-DCH cell is the same cell as the HS-DSCH serving cell. // ------? Directly Change to Cell Id ------? UINT8 servCellIdx ; // AGCH Channelization Code UINT8 agchChanCode ; // E-TFCI Parameters: // Number of reference ETFCIs , Integer ( 1 ...8 ) , ' 1 ' =1 , ' 2 ' =2 , ... , ' 1000 ' =8 // Change to Orignal UINT8 numOfRefEtfci ; // Reference ETFCI , 8 entries - { 0 , 1 , ... , 127 } UINT8 refEtfci [ 8 ] ; // edpdchDpcchPoweroffset of Reference ETFCI , 8 entries - { 0 , 1 , ... , 29 } , // This value is an index to Signaled values for ¦¤E-DPDCH in Table 1 B.1 in 25.213000 UINT8 refBetaEdIndex [ 8 ] ; // TrBk Size Table Index , 0 =Table 0 , 1 =Table 1 UINT8 etfciTableIndex ; // Number of DPDCH in Uplink , 0 =None , 1 = One or more UINT8 numOfUplinkDpdch ; // ETFCI Interpolation Indication 0 = Disable ( extrapolation ) 1 = Enable ( interpolation ) UINT8 etfciInterpInd ; // Indicates if UL 16 QAM is used.Integer { 0.100000 } . 1 =UL 16 QAM is used. only used for 10 ms UINT8 ul16QAMFlag ; // Bitmap indicating which power offset is configured ; Bit [ 0 ] ->0dB , Bit [ 1 ] ->1dB , ... , Bit [ 6 ] ->6dB. 0 =Offset not configured UINT8 macflowPowerOffsets ; // ETFCI Boost Value , Value range: 0 -127. To disable ETFCI boost , this value must be set to 127 . // All other values will be considered as ETFCI Boost Enable indicator UINT8 etfciBoost ; // Delta T2TP index used in E-TFCI boosting. Integer { 0 - 6 } . UINT8 deltaT2TPIndex ; // Minimum reduced E-DPDCH gain factor: // 0 = 8 / 15 ( default value ) 1 = 11 / 15 2 = 15 / 15 3 = 21 / 15 4 = 30 / 15 5 = 42 / 15 6 = 60 / 15 7 =84 / 15 UINT8 miniReduceGainFactor ; // Maximum SF Indication.Integer { 0 , 1 , ... , 9 } // 0 = sf256 1 = sf128 10 = sf64 11 = sf32 100 = sf16 // 101 =sf8 110 = sf4 111 - 2 sf4 1000 = 2 sf2 1001 = 2 sf2And2sf4 UINT8 maxSfInd ; // PL-Non Max ( 11 ..25 ) ( Puncturing Limit None Max ) 0 = 0.440000 1 = 0.480000 1110 = 1 The actual value of E-DPDCH-PL-Non Max range is 0.440000 to 1.000000 by step of 0.040000 // Note : is need change PTK Code : Output = NonMax - 11 UINT8 plNonMax ; // HARQ RV Configuration , 0 =RV0 , 1 =RV_TABLE UINT8 harqRVConfig ; // edpcchDpcchPowerOffset , Integer { 0 , 1 , ... , 8 } dB , This value is index to Signalled values for ¦¤E-DPCCH in table 1 B in 25.213000 UINT8 edpcchDpcchPowerOffset ; // downlink parameters. // number of downlink RL UINT8 numOfDlRl ; UINT8 reserved1 ; rgchHichParam_ts rgchHich [ 4 ] ; // delete parameters // receiver Type // UINT8 receiverType ; } WbSetHsupaCmd; //ICAT EXPORTED STRUCT typedef struct { // Scenario indication. 0 - Initial Configuration 1 - Reconfiguration 2 - release 3 - Idle ( no opeartion ) UINT8 scenarioInd ; // HSDPA Cell ID. The cell within the active set that is transmitting HSDPA.ID is in accordance with the LOAD_ACTIVE_CELL_PARAMS command. // If HSDPA is established for enhanced CELL_FACH , set the cell ID to 7 ( cell ID is used to associate trackers to this cell ) . UINT8 hsdpaCellId ; // Serving Cell Removal. By setting this bit to 1 , // L1C indicates the current serving cell will be removed by a subsequent SET_VIRTUAL_CELL command. UINT8 servCellRemove ; // HSDPA serving cell change procedure indication UINT8 servCellChangeInd ; // MAC-HS Reset UINT8 macHsResetFlag ; // measurment parameters ( related with uplink ) // Measurement power offset in 0.500000 dB steps. range ( 0 , 38 ) // 0 -6 dB 1 -5.5 dB ... 101000 +13 dB UINT8 measPowerOffset ; // Downlink Parameters // Scramling Code Number 0 -8191 , used for HS-SCCH and HS-DSCH UINT16 scrambCode ; // 64 QAM configuration flag. 0 : not configured , 1 : configured UINT8 is64QAMConfigured ; // Transport block size table ( bit / byte alignment ) , 0 : bit-aligned. 1 : byte-aligned. // when is64QAMConfigure , This value always set byte-aligned ( Check ) . UINT8 trBkSizeTableIndex ; // Hs-Scch Parameters // number of HS-SCCH codes ( 1 -4 ) , Set to 0 for URA_PCH and CELL_PCH without Dedicated HRNTI , Note: 0 ~3 --> [ 1 , 4 ] //// Change to 1 -4 UINT8 numHsScchCode ; // HS-SCCH channelisation code UINT8 hsScchChanCode [ 4 ] ; // H-RNTI UINT16 hRnti ; } hsdpaParam_ts; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Command Type : 0 - Reserved 10 - Only uplink parameters included // 1 - Only downlink parameters included 11 - Downlink & uplink parameters included UINT8 commandType ; // Dual Cell Enable Flag 0 : Single Cell , 1 : Dual Cell UINT8 dcEnableFlag ; // Secondary Cell Active Flag. Set to 1 when DC is enabled except for HHO failure. 1 = DC is active 0 = DC is not active UINT8 secCellActiveFlag ; // RRC state in which HSDPA will be received // 0 - IDLE 1 - CELL_PCH 10 - URA_PCH 11 - CELL_FACH // 100 - CELL_DCH 101 :111 - RESERVED UINT8 targetRrcState ; // MAC type: 0 - MAC HS 1 - MAC E-HS UINT8 macType ; // number of Harq process. range 1 ~8 // Set to 1 for CELL_PCH / URA_PCH & CELL_FACH without dedicated HRNTI UINT8 numOfProcess ; // process memory size UINT32 procMemSize [ 8 ] ; // downlink parameters for primary cell hsdpaParam_ts priHsdpaParam ; // downlink parameters for secondary cell hsdpaParam_ts secHsdpaParam ; // H-RNTI Related parameters // H-RNTI Validity 0 = Common H-RNTI 1 = Dedicated H-RNTI 10 = Not configured 11 = Reserved , Set to 1 in CELL_DCH // This value only used for primary cell. UINT8 hRntiType ; // BCCH-specific H-RNTI Validity , Indicates whether BCCH should be decoded. 0 = Not Exit 1 = exist UINT8 bcchHrntiExist ; // BCCH specified H-RNTI , Set to 0 when not used ( bcchHrntiExist = 0 ) . UINT16 bcchHRnti ; // number of subframes used to transmit the PAGING TYPE 1 . // used at cell_PCH without dedicated H-RNTI or URA_PCH State. ( less-operation ) UINT8 numOfPcchTrans ; // HS-SCCH Less Parameters ( hsLessStatus ) // HS-SCCH-less Active Flag Set to 1 when HS-SCCH-less is enabled except for HHO failure ( Why? ) // 1 = HS-SCCH-less is active 0 = HS-SCCH-less is not active UINT8 hsscchLessActiveFlag ; // HS-SCCH Reset Flag , when Hs-scch Less New or Serving cell Change. ( hsLessOperation ) UINT8 hsscchLessResetFlag ; // index of first HS-PDSCH code , Integer ( 1 ..15 ) , only valid at Hs-Less operation. UINT8 HsDschChanCode ; // less transport block size index , integer ( 1 ... 90 ) UINT8 tbSizeIndex [ 4 ] ; // Number of used HS-DSCH channelization codes for TrBk Size Index #k Set to 0 when not used. // 0 = One DSCH channelization code ( should be 0 in ECF ) // 1 = Two DSCH channelization codes , the second chancode = HsDschChanCode + 1 UINT8 numOfHsdschChanCode [ 4 ] ; // number of less TB size , Integer ( 1 ... MAX_HSSCCH_LESS_TRBK ) . // Set to 0 when not used. 0x0 = SCCH-less disabled 0x1 - 0x4 = SCCH-less enable UINT8 numOfTrBkSizes ; // FACH DRX // 0 - ECF DRX isn ' t active ; 1 - ECF DRX is active UINT8 drxActiveFlag ; // Enumerated { 100 , 200 , 400 , 800 } in ms , Determines the time the UE waits until initiating DRX operation UINT8 t321Idx ; // Enumerated { 4 , 8 , 16 , 32 } in frames , Determines the length of the DRX Cycle during DRX operation UINT8 drxCycleIdx ; // Enumerated { 1 , 2 , 4 , 8 , 16 } in frames , Determines the period within the DRX Cycle that the UE continuously receives HSDSCH UINT8 rxBurstIndex ; // 1 means that the DRX operation can be interrupted by HS-DSCH data. // 0 means that the DRX operation cannot be interrupted by HS-DSCH dataTransferEnd_ts UINT8 drxInterruptionByHsdsch ; // uplink parameters // Ack-Nack repetition Factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 // Set to 0 when configuring HSDPA in RRC States other than CELL_DCH UINT8 ackNackRep ; // indicate ackNack Support On HsDpcch. UINT8 ecfHsDpcchEnable ; // CQI repetition factor ( 1 ..4 ) // 0 - Repetition Factor of 1 1 - Repetition Factor of 2 // 10 - Repetition Factor of 3 11 - Repetition Factor of 4 UINT8 cqiRep ; // Delta CQI // 0 - amplitude ration 5 / 15 1 - amplitude ration 6 / 15 // 10 - amplitude ration 8 / 15 11 - amplitude ration 9 / 15 // 100 - amplitude ration 12 / 15 101 - amplitude ration 15 / 15 // 110 - amplitude ration 19 / 15 111 - amplitude ration 24 / 15 // 1000 - amplitude ration 30 / 15 UINT8 deltaCQI ; // CQI FeedBack Cycle Integer ( 0 , 2 , 4 , 8 , 10 , 20 , 40 , 80 , 160 ) UINT8 cqiFeedBackCycle ; // Delta Ack , the same coding as delta CQI UINT8 deltaAck ; // Delta Nack , the same coding as delta CQI UINT8 deltaNack ; // HARQ preamble transmission mode. // 0 - Preamble and postamble are not used on the HS-DPCCH // 1 - Preamble and postamble are used on the HS-DPCCH UINT8 harqPreambleMode ; UINT8 simID ; UINT8 reserved0 ; ////////////////// delete parameters : ///////////////////////////////////// // HS_DSCH_SNR_TO_CQI_OFFSET in 0.500000 dB ( UQ1 ) range 0 ~31 In Q1. // 0 - 0 dB 1 - 0.500000 dB 11111 - 15.500000 dB , defualt value 4.500000 dB // Algorithm Parameters Need OR NOT // UINT8 dschSnrToCqiOffset ; // Frame Offset = Time Offset ( chips ) / 256 chip Frame Offset range { 0 , 1 K , 149 } // UINT8 frameOffset ; // Receiver Type // UINT8 revType ; // cpich Scramling Code Number 0 -8191 // UINT16 cpichScramblingCode ; // cpich ChanCode // CPICH channelization // UINT8 cpichChannelizationCode ; // Dpch Diversity mode // 0 - Non-diversity 1 - Open loop: Space Time Transmit Diversity ( STTD ) // 10 - Close loop mode 1 // Dch-state : cp from DpchParams , other-than DCH state , cp from cpich Diversity. // UINT8 dpchDiversity ; // Dpch CLTD adjust mode : // 0 - Adjustment performed at the beginning of DL slot ( j+1 ) // 1 - Adjustment performed at the beginning of DL slot ( j+2 ) // UINT8 cltdSlotDelay ; // secondar cell parmeters. // UINT8 secDiversity ; // UINT16 secCpichScrambCode ; } WbSetHsdpaCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical channel has to be established. // The range is 0 -4096. The value 4096 means ' now ' . The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Meas frequency UINT16 dcDlUarfcn ; // DC Mode Change : 0 : MEAS Disable , 1 : MEAS Enable , 10 : DC Disable , 11 : DC Enable , UINT8 dcModeChange ; UINT8 dcDlBandNum ; // ForDBDC UINT8 reserved [ 2 ] ; } WbSetDcModeCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // cell ID , range 0 ~7 UINT8 cellId ; // Note : without activeframeNum , always immediately. // Scramling Code Number 0 -8191 UINT16 scrambCode ; // H-RNTI , { 0x0 , 0x1 , ... , 0xFFFF } UINT16 hRnti ; // Channelizeation Code { 0 , 1 ...127 } UINT8 chanCode ; // 0 : Non Diversity 1 - STTD UINT8 diversity ; } WbSetTcHsScchCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number at which the CPC should be activated. Value range: 0 -4095. // 4096 = Immediate activation ( used for deactivation only ) // CPC activation is always sent with activation time of at least 2 frames ahead. UINT16 activationFrameNumber ; // indicates CPC command operation. // 0 = Activation at AFN ( which at establishment is the same AFN as HSUPA ) // 1 = Activation aligned to DPCH establishment ( Reserved C Not used ) // 2 = DTX_DRX parameters reconfiguration // 3 = DTX_DRX state control // 4 = DTX_DRX state control and parameters reconfiguration // 5 = Deactivation at AFN // 6 - Deactivation ASAP ( immediate ) UINT8 cpcOperation ; // Ignore Orders: Do not decode HS-SCCH DTX\DRX orders // 0 = FALSE ( Decode HS-SCCH DTX\DRX orders ) // 1 = TRUE ( Do not decode HS-SCCH DTX\DRX orders ) UINT8 ignoreOrders ; // USE_DCH_POWER_CONTROL_PARAMS: Use DPCH power control parameters instead of the CPC default power control parameters. // 0 = FALSE ( DLPC works in DPC_MODE_0 , ULPC works in PCA_1 , RPP=ITP=0 ) // 1 = TRUE ( PLP works according to power control parameters received in SET_DPCH_POWER_CONTROL and SET_CM ) UINT8 dchPcValid ; // MAC_PREVENTED_FROM_ENTERING_DTX_MODE // 0 = FALSE ( Allow MAC to enter DTX mode ) // 1 = TRUE ( MAC is prevented from entering DTX mode ) UINT8 macEnterDtxAllow ; // FORCE_CONTINUOUS_RX // 0 = FALSE ( Do not force continuous reception ) // 1 = TRUE ( Force continuous reception ) UINT8 forceContinousRx ; // FORCE_CONTINUOUS_TX // 0 = FALSE ( Do not force continuous transmission ) // 1 = TRUE ( Force continuous transmission UINT8 forceContinousTx ; // CQI_PATTERN_OVERRIDE: Forces CQI feedback cycle to be 2 ms // 0 = FALSE ( Do not force CQI feedback cycle ) // 1 = TRUE ( Force CQI feedback cycle to be 2 ms ) UINT8 forceCqiPattern ; // initDRX_Active: Initialize the DRX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDrxActive ; // initDTX_Active: Initialize the DTX_Active state , 0 = FALSE 1 = TRUE 2 = Continue UINT8 initDtxActive ; // Reset L1 Timers: Resets the L1 CPC timers , 0 = FALSE , 1 = TRUE UINT8 resetL1Timers ; // Reset MAC Timers: Resets the MAC CPC timers , 0 = FALSE 1 = TRUE UINT8 resetMacTimers ; // Force DTX Cycle 1 , 0 = FALSE , 1 = TRUE UINT8 forceDtxCycle1 ; // DTX Only , 0 = FALSE 1 = TRUE UINT8 dtxOnly ; // UE_DTX_DRX_Offset in subframes ( 0 ?59 ) UINT8 dtxDrxOffset ; // DRX Information : // UE_DRX_cycle in subframes ( 4 , 5 , 8 , 10 , 16 , 20 ) UINT8 drxCycle ; // Inactivity_Threshold_for_UE_DRX_cycle in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 ) UINT16 inactivityThresholdForDrxCycle ; // UE_DRX_Grant_Monitoring ( TRUE , FALSE ) UINT8 drxGrantMonitoring ; // DTX Information // CQI_DTX_TIMER in subframes ( 0 , 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 800 ) . 800 = infinity UINT16 cqiDtxTimer ; // UE_DTX_cycle_1 in subframes 10 ms TTI: 1 , 5 , 10 , 20 2 ms TTI: 1 , 4 , 5 , 8 , 10 , 16 , 20 UINT8 dtxCycle1 ; // UE_DTX_cycle_2 in subframes 10 ms TTI: 5 , 10 , 20 , 40 , 80 , 160 2 ms TTI: 4 , 5 , 8 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 UINT8 dtxCycle2 ; // Inactivity_Threshold_for_UE_DTX_cycle_2 in TTIs ( 1 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ) UINT16 inactivityThresholdForDtxCycle2 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst1 ; // UE_DPCCH_burst_1 in subframes ( 1 , 2 , 5 ) UINT8 dpcchBurst2 ; // UE_DTX_long_preamble_length in slots ( 2 , 4 , 15 ) UINT8 dtxLongPreambleLength ; UINT8 reserved ; } WbSetCpcCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation Frame Number. The System Frame Number where the physical // channel has to be established. The range is 0 -4096. The value 4096 means ' now ' . // The physical channel has to be established as soon as possible UINT16 activationFrameNumber ; // Number of physical channels to terminate UINT8 simID ; UINT8 numOfPhy2Terminate ; // Indication to issue CM state report on DPCH termination. UINT8 cmStateReportOnRelDpch ; // Indication to report hsdpa order UINT8 hsdpaOrderReort ; // Frequency Change Indication. This bit indicates if the current frequency will be change // when the last physical channel had been released. The new frequency parameters are taken from TBD. // Not used in current version in PTK code // UINT8 freqChgFlag ; // Channel ID // 0 = PCCPCH 1 = SCCPCH 10 = DPCH / F-DPCH 11 = HSDPA // 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA // 1000 = TCHSCCH UINT8 channelId [ 4 ] ; // UINT16 TerminationFrameNumber ; // Termination Frame Number. The System Frame Number where the physical // UINT8 ImmTerminationFlag ; // The value 4096 means ' now ' . } WbReleasePhyCmd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI Value 0 ..64 UINT8 tfciValue ; UINT8 reserved [ 2 ] ; // number of TrCH 0 ..8 UINT8 trchNum ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbDchDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // Ddr start address for encoding UINT32 ulDataStartAddr ; // Message length: 0 . 10 ms 1 . 20 ms UINT8 messageLength ; // Tfci value , for dpcch transmission , the tbsize and tb number is also provided in the msg UINT8 tfciValue ; // Tb number for rach encoding UINT8 tbNum ; // Ref tb number for power calculation UINT8 refTbNum ; // Tb size for rach encoding UINT16 tbSize ; // Reference tb size for power calculation UINT16 refTbSize ; // ? / // number of TrCH 0 ..8 UINT8 trchNum ; UINT8 reserved [ 3 ] ; // TRCH Data Info , Only first trchNum Items in this arrary are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } WbRachDataTxCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 pcpEnable ; } WbTxEnableCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 : Do not apply power control preamble , 1 : Apply power control preamble if NPCP>0 UINT32 isRfUnderFlowRecover ; } WbTxDisableCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // used only for puncture oneshot // 0 ---plp delay rsp ipc 0x16c // 1 ---plp rsp ipc 0x16c immediately UINT8 puncturecause ; // Puncture Mode // PUNCTURE_ONE_SHOT = 0x0 , // PUNCTURE_FOREVER = 0x2 , // PUNCTURE_RESUME = 0x4 , // PUNCTURE_PCH = 0x8 UINT8 punctureMode ; // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , used when PUNCTURE_ONE_SHOT or PUNCTURE_PCH // APLP_STOP_PI_CBS = 0x0 , used when PUNCTURE_FOREVER // APLP_STOP_CBS = 0x1 , used when PUNCTURE_FOREVER // APLP_RESUME_PI_CBS = 0x0 , used when PUNCTURE_RESUME // APLP_RESUME_CBS = 0x1 , used when PUNCTURE_RESUME // APLP_RESUME_PI_ONLY= 0x2 , used when PUNCTURE_RESUME UINT8 punctureResumeParams ; // puncture one shot last time // 0 - ont shot // others - puncture time ( ms ) UINT16 punctureOneShotTime ; UINT16 reserved1 ; } WbPuncturePICmd; //ICAT EXPORTED STRUCT typedef struct { // abort cbs or pi time.... in millisecond UINT16 abortCbsPITime ; // need check with plp TX // puncture Resume Params // PI_CBS_VOID_PARA = 0x0 , parameter abortCbsPITime is valid // APLP_STOP_CBS = 0x1 , parameter abortCbsPITime is invalid UINT8 abortParaParams ; UINT8 reserved ; } WbAbortCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Activation Frame Number. The range is 0 -4095 UINT16 activationFrameNumber ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 cbsFlag ; // 0 : deactive the skip procedure. 1 : active the skip procedure. UINT8 pichFlag ; } WbSkipCbsPICmd; //ICAT EXPORTED STRUCT typedef struct { // Frame selection: // 0 = Frame Int0 is selected for configuration. // 1 = Frame Int1 is selected for configuration. // 10 = Frame Int2 is selected for configuration. // 11 = Reserved UINT8 intIdx ; // Frame Int Enable / Disable: // 0 = Selected Frame Int is disabled. // 1 = Selected Frame Int is enabled. UINT8 intEnable ; // Frame Int sync method: // 0 = Selected Frame Int is synchronized with SFN framing. // 1 = Selected Frame Int is synchronized with the CFN framing. // 10 = Selected Frame Int is synchronized with voice activity ( not during DPCH ) . // 11 = Selected Frame Int is not synchronized. UINT8 intSyncCntrl ; // Selected Frame Int time offset from current framing , resolution of 66.666000 ¦Ì ( 256 chips ) . UINT8 intTimingOffset ; // The system frame number ( SFN ) where the first frame interrupt occurs. Must be at least 1 frame after the current reported SFN. Range: 0 to 4096 // The value 4096 indicates that the PLP turns on the frame interrupt as soon as possible. UINT16 activationFrameNumber ; UINT8 SimId ; UINT8 reserved0 ; } WbFrameIntCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { // Define SFN or CFN counting // This bit determines the counter type to be returned by the PLP. // 0 = Return SFN counter , 1 = Return CFN counter UINT8 sfnFlag ; UINT8 simID ; UINT16 RESERVED01 ; } WbSfnReadCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN offset. The requested SFN offset increment UINT16 sfnOffset ; } WbSetSfnOffsetCmd; //ICAT EXPORTED STRUCT typedef struct { // Sleep mode: // 0 -RF_STANDBY 1 -SLEEP 2 -RF_ON 3 ENDLESS_SLEEP 4 -Reserved 5 -NO_BB_SLEEP ( not close RTU ) UINT8 sleepMode ; // Wake up mode indication // 0 - Normal // 1 - Extended RF power saving C During this mode the PLP will optimize the RF power saving according to the definition in DRX requirement document. UINT8 wakeupModeInd ; // This parameter indicate the simId of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - SIMA // 1 - SIMB UINT8 FirstAcceptTaskSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; // Wake up timer MTU // based on next pi time reported by plp or GSM wakeup time UINT32 wakeupTime ; // 0 - plp use wakeupTime in this command to wakeup ( wakeup is for W+W or W+G ) // 1 - plp use time stored by plp to wakeup , ( wakeup is for only W reception ) UINT8 optimizationPower ; UINT8 simID ; UINT16 reserved ; } WbAllowBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands the EarlyWakeup. // 0 - SIMA // 1 - SIMB UINT8 wakeupSim ; // This parameter indicate the workmode of the first accepted task after wakeup // Avaiable when sleepMode is 1 -SLEEP // 0 - WB mode // 1 - GSM mode UINT8 FirstAcceptTaskMode ; UINT8 reserved [ 2 ] ; } WbEarlyWakeupCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simid ; UINT8 reserved [ 3 ] ; } WbRFresetCmd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM demands WbResumeCbsAck. // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbFastSlowClocksRatioEstCmd; //ICAT EXPORTED STRUCT typedef struct { // Activation time: maybe removed in FB. // 0x1000 - imediately others-Activation time UINT16 activationTime ; // Rebuild MTU // 0 -Rebuild MTU 1 -NO need UINT8 rebuildMTU ; // This parameter indicate which SIM demands the unscheduled wakeup event. // 0 - SIMA // 1 - SIMB UINT8 wakeUpSIM ; } WbDisableBasebandSleepCmd; //ICAT EXPORTED STRUCT typedef struct { // Selected RAT 0 = WB_INIT_MODE 1 = GSM_MODE UINT8 selectedRat ; // RAT Resume Flag. This flag indicates how the next RAT was selected. // 0 = The new / next RAT was selected due to Initial RAT selection / Reselection or HO. Meaning no history preserve. // 1 = The new / next RAT was selected due to Resume operation ( back off procedure ) . In this case , some of the // functionality from the last time this RAT was active should be preserved ( see notes above ) . UINT8 resumeFlag ; UINT16 reserved ; } WbSetSymDetCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 pad ; UINT16 ratInfo ; } WbSetWcdma; //ICAT EXPORTED STRUCT typedef struct { // 0 = Do not terminate WCDMA 1 = Terminate WCDMA UINT8 termiateFlagForWb ; // 0 = Do not terminate GSM 1 = Terminate GSM UINT8 termiateFlagForGsm ; UINT8 simid ; UINT8 reserverd ; } WbTerminateRatCmd; //ICAT EXPORTED STRUCT typedef struct { // Ep / Ioc estimator activation: 0 = On 1 = Off 2 = Reset filter UINT8 actionFlag ; UINT8 reserved [ 3 ] ; } WbSetEpIocEstiCmd; //ICAT EXPORTED STRUCT typedef struct { // 0 = Rx diversity antenna OFF 1 = Rx diversity antenna ON 2 = Rx diversity antenna OFF enabled UINT8 mode ; // Send RF sequence Flag // 0 = Need to send sequence to RF // 1 = No need to send sequence to RF ( just change flag ) UINT8 rfSendFlag ; // 0 = Immediate activation // 1 = Non-immediate activation , change diversity state and activate upon next first Rx sequence UINT8 immediateFlag ; UINT8 reserved ; } WbAntDivCtrlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxCmd; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbMacEhsResetHarqCmd; //ICAT EXPORTED STRUCT typedef struct WbResetTrackerAndSearcherCmd { UINT8 simID ; UINT8 reserved ; // Check this command was sent for interBCH setup or not UINT8 InterBchFlag ; UINT8 freezeMpsFlag ; } WbResetTrackerAndSearcherCmd; //ICAT EXPORTED STRUCT typedef struct WbSetNfddNgsmForFachOccasionCmd { // N_FDD enable / disable UINT8 NfddEnable ; // N_GSM enable / disable UINT8 NgsmEnable ; UINT8 pad0 [ 2 ] ; // N identify. Indicates the number of FO gaps that UE shall use to attempt decoding the unknown BSIC of the GSM cell in the initial BSIC // identification procedure. // Nidentify = ( Tidentify from standard / Tmeas ) * ( 1 / 2 ) UINT16 Nidentify ; // T reconfirm. Indicates the maximum time allowed for the re-confirmation of the BSIC belongs to one GSM cell in the BSIC re-confirmation procedure. The time is given in steps of ?second. // Treconfirm = Treconfirm from standard *6 / 500 [ 1 / 2 second ] UINT16 Treconfirm ; } WbSetNfddNgsmForFachOccasionCmd; //ICAT EXPORTED STRUCT typedef struct MtuReadCmdTag { // 0 : indicate PLP to return the value of BaseCntr // 1 : indicate PLP to return the value of one of the TSGs UINT8 readBcOrTsg ; // 0 ~4 , indicate the TSG number if read the value of TSG UINT8 tsgNumber ; UINT16 pad0 ; } MtuReadCmd; //ICAT EXPORTED STRUCT typedef struct DualSimResourceCtrlCmdTag { // 0 : Open ; 1 : Close ; UINT8 openOrClose ; // SIM ID UINT8 simId ; UINT16 pad0 ; } DualSimResourceCtrlCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapReqCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; // WB SFN ( BC SFN ) of the position of gap start UINT16 sfn ; // WB chip number ( BC chip number ) of the position of gap start UINT16 chip ; // gap length in symbol ( 256 chip ) UINT16 gapLength ; UINT16 pad2 ; } GsmPchGapReqCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapRemoveCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapRemoveCmd; //ICAT EXPORTED STRUCT typedef struct GsmPchGapStopInAdvanceCmdTag { // SIM ID , usually is SIMA UINT8 simId ; UINT8 pad0 ; UINT16 pad1 ; } GsmPchGapStopInAdvanceCmd; //ICAT EXPORTED STRUCT typedef struct WbMeasUeRxTxTimeDiffReqTag { UINT8 RxTxDiffMeasEnable ; UINT8 reportPeriod ; UINT16 SlotCounter ; } WbMeasUeRxTxTimeDiffReq; //ICAT EXPORTED STRUCT typedef struct WbSleepParamsCmdTag { // T1-T3 need to redefined with plp TX UINT16 t1 ; UINT16 t2 ; UINT16 t3 ; // T1 C The time between Sleep Timer Sleep End interrupt to the start of the associated PI. // T2 C The time between AFE Rx activation ( Idle to Active ) to RxStart. // T3 - The time between the RTU is stable , on its new reconstructed value , to RxStart // trackers selection threshold for pi / pch reception UINT16 thresholdEcNo ; // Q16 , Dft:0x104 ( -24db ) UINT8 thresholdChipOffset ; // step 1 chip , 8 -240chips , Dft:40chips , // Activation Flag - Enable / disable the use of T3 timer at DRX sleep wakeup: // 0 = Deactivate ( default ) // 1 = Activate UINT8 activationFlag ; // Earliest path detection threshold UINT16 earliestPathDetectionThresholdEcNo ; } WbSleepParamsCmd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // SNR threshold for Rx Div on , should be in Q3 INT8 snrThresholdDivOn ; // SNR threshold for Rx Div off , should be in Q3 INT8 snrThresholdDivOff ; // aligned // INT8 dummyfit ; // HSDPA load XXbitsnumber UINT32 HsdpaBitRateThr ; // Ant number set for every channel UINT8 RxDivPredef [ 10 ] ; } WbSetRxDivParamCmd; typedef UINT8 freqScanIndType_te ; //ICAT EXPORTED STRUCT enum freqScanIndType_values { // No valid score / RSSI / UARFCN report , PLP time out FREQ_SCAN_TIME_OUT = 0 , // This is the last report with valid score / RSSI / UARFCN FREQ_SCAN_FINISHED = 1 , // One subband scan finished , available time is enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED = 2 , // One subband scan finished , available time is not enough to scan next subband // With valid score / RSSI / UARFCN SUBBAND_FINISHED_TIME_OUT = 3 , }; //ICAT EXPORTED STRUCT /*typedef struct { UINT8 syncID ; / / 0 : unfinish ; 1 : finish freqScanIndType_te scanIndType ; / / number of freq in this message UINT8 numOfFreq ; UINT8 padding ; / / frequency list ; in descent order UINT16 freqList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency score list ; same order as above INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; / / frequency RSSI list ; same order as above INT16 freqRssiList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; } WbFreqScanInd ; */ // ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; UINT8 syncID ; // 0 : unfinish ; 1 : finish // freqScanIndType_te scanIndType ; // number of freq in this message UINT8 numOfFreq ; // UINT8 padding ; // frequency list ; in descent order UINT16 freqList [ 32 ] ; // frequency score list ; same order as above // INT16 freqScoreList [ WB_RF_SCAN_MAX_REPORT_FREQS ] ; // frequency RSSI list ; same order as above INT16 freqRssiList [ 32 ] ; } WbFreqScanInd; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; // The received energy per chip divided by the power density in the band UINT16 EcNo ; // Received Signal Strength Indicator INT16 rssi ; } findCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 padding ; // 0 : unfinish ; 1 : finish UINT8 acqFinishFlg ; // 0 :fail ; >1: success ; UINT8 numOfCell ; // the current freq ; for aplp debug UINT16 acqFreq ; // The fine FO estimation value according to the HW output differential metric , Inalid in Acq mode ( include FFO ) INT16 ffoEstValue ; // The fwl corresponds to ffoEstValue INT16 ffoEstFwl ; // The information of detected cell , valid only when numOfCell>0 findCellInfo_ts findCellResult [ 4 ] ; } WbSetAcqInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 : freq scan ; 1 : acq UINT8 acqAbortStage ; // 0 : freeze ; 1 : abort UINT8 acqAbortType ; UINT8 padding ; } WbAcqAbortAck; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // 0 : monitor cell ; 1 : detected cell UINT8 detectCellFlg ; // UINT8 padding [ 2 ] ; } measCellReportInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1: equals to the detected flag in the srchDB. // bit0: which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in cellInfo array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; measCellReportInfo_ts cellInfo [ 32 + 10 ] ; } WbMeasCellSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // 0 ~38400 , 25.331000 : 10.300000 .7.60 UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; UINT8 padding [ 3 ] ; } measMpsPathInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 padding ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo [ 2 ] ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi [ 2 ] ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // All the paths reported must meet the following criteria: // The aplp valid threshold for every path: EcN0 >= -26db // The aplp valid threshold for sum EcN0 of all paths reported: EcN0 >= -24db measMpsPathInfo_ts measMpsPath [ 6 ] ; } measResultInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved [ 3 ] ; // Search ID C Search request number. This number is used to synchronize between search request commands and search replies. // bit7-bit6: 0 groupCellSearch , 1 groupCpichSearch , 11 extendedCpichSearch ( 10 cellsearch&cpichsearch used in idle ) ; // bit5-bit4: 0 intraFreqType in GrpSrchEng , 1 adjacentFreqType , 10 interFreqType // bit3: equals to the nextSearchIdGrp in the srchDB. // bit2: equals to the oneShotSearch in the srchDB. // bit1 -bit0: 0 ; which will used by plp when plp sends the reply message ( s ) UINT8 searchID ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // UINT32 ReferenceSTO ; // mps meas result of each cell measResultInfo_ts measResult [ 4 ] ; } WbMeasCpichSearchInd; //ICAT EXPORTED STRUCT typedef struct { // Number of paths of measured cell , 0 ~6 UINT8 numOfPaths ; // Number of cells in measResult array that contains measurements report UINT8 numOfCell ; UINT16 UARFCN ; // Scrambling code index 0 ~8176 , step=16 UINT16 scramblingCode ; // Ec / No repot , -192~0 , defined in TS25.133 9.100000 .2.3 // In Q16 linear units. For example if a level of Ec / Io = ¡§C17 dB is measured // then the number should be set to : 65536 *10^ ( -17 / 10 ) =0x051c UINT16 EcNo ; // RSSI report: -960~0 , defined in TS25.133 9.100000 .3 // In 1 / 8 dBm units INT16 rssi ; // 0 ~38400 , 25.331000 : 10.300000 .7.60. the plp processed " first path " time of one cell UINT16 scTimeOffset ; // 3 bits , in 1 / 8 chip resolution UINT8 scSampleOffset ; // bit0: for primary antinna , true: this measurement result is valid , false: this measurement result is invalid // bit1: for secodary antinna , true: this measurement result is valid , false: this measurement result is invalid UINT8 antValidFlag ; UINT8 simID ; UINT8 padding ; } WbUpdateRefcellSearchWinInd; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; // 0 : intra-freq ; 1 : sCell ; 2 : inter-freq UINT8 FreqType ; // 16 Q3 INT16 RssiInDB ; UINT16 SearchID ; UINT8 MissionType ; // bit [ 2 ~0 ] : [ CE Mode | ICS mode | SelfDcc Mode ] each mode ' s 0 :disabled 1 :enabled UINT8 WorkMode ; UINT8 RecAntNum ; UINT8 padding ; INT32 AfcDacValue ; } WbRecordBufferEndInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 searchID ; UINT8 padding [ 2 ] ; } WbSearchAbortAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -no dummy path ; 1 -dummy path. This flag was used for special scenario to check // whether the channel was established successly. For example , HSDPA setup in ECF. UINT8 dummyPathFlag ; UINT16 pad2 ; UINT16 EcNo [ 9 ] ; INT16 RSSI [ 9 ] ; } WbSetActiveCellActionAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 simID ; UINT32 dlUarfcn ; UINT16 scrmbCodeIdx ; INT16 chnlCode ; UINT8 refCellId ; UINT8 pad [ 3 ] ; } WbRefCellChangeReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // phyIDSendReport 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT8 reportChannelType ; // states the physical channels that are active in the current frame or not // 0 : not active in current frame ; 1 : active in current frame UINT16 phyCfgStatus ; } WbPhySetUpCompleteAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhySetUpAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // physical channel type reported // 0 = PCCPCH 1 = SCCPCH 10 = DPCH 11 = HSDPA 100 = PRACH + AICH 101 = PICH 110 = SCCPCH for CBS 111 = HSUPA 1000 = TCHSCCH UINT16 reportChannelType ; } WbPhyReleaseAck; //ICAT EXPORTED STRUCT typedef struct { // only bit 0 is used. 1 : Confirm activation of FACH occasions ; 0 : Confirm deactivation of FACH occasions UINT16 activeOrDeactiveAck ; /// To allign the msg to UINT32 UINT16 reserved ; } WbFachOccasionAck; typedef WbSetCbsL2ScheduleCmd WbCbsL2Ack ; typedef WbCbsL2Ack WbCbsL2ToL1Ind ; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // period ID , only bit 0 ~3 is used. UINT16 periodID ; } WbCbsL2DoneInd; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // DeltaFramesToNextCbsEvent UINT16 DeltaFramesToNextCbsEvent ; } WbCbsPeroidDoneInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPIApproachingInd; typedef WbSetCompressedModeReConstrutReq WbCmStateReport ; //ICAT EXPORTED STRUCT typedef struct { // Gap slot bit map in current frame // Bit 0 to 14 represents slot 0 to 14 , bit0 for slot0 , bit14 for slot14 // 0 means out of gap , 1 means in gap UINT16 gapSlotBitMap ; // Pattern ID , 0 if current frame is not a CM frame UINT8 patternId ; // UL compressed mode method // 1 for HLS , 10 for SF / 2 UINT8 ulMethod ; // DL compressed mode method // 0 for SF / 2 , 1 for HLS UINT8 dlMethod ; // Collision Error Pattern in current frame // 0 means no collosion , // 1 = Collision has happened ( Bit0 TGPSI #0 , Bit1 TGPSI #1 , Bit2 TGPSI #2 , Bit3 TGPSI #3 ) // for Example: 0 = No Collision // 110 = Collision with TGPSI #1 and TGPSI#2 , with the reported TGPSI // 1110 = with TGPSI #1 , TGPSI #2 and TGPSI #3 , with the reported TGPSI UINT8 colliPatterns ; // Finite pattern completion in current frame // 0 means no pattern completed in current frame , each bit in finiteCompletePatterns represents corresponding pattern id // bit 0 for pattern id 0 , ... , bit 5 for pattern id 5 UINT8 finiteCompletePatterns ; UINT8 reserved0 ; } cmReportFrameInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // SFN of first frame of the 40 ms the PLP reports UINT16 sfn ; UINT16 reserved0 ; // Compressed frame report information cmReportFrameInfo_ts wbCmReportFrameInfo [ 4 ] ; } WbCmPatternReport; //ICAT EXPORTED STRUCT typedef struct { // Counter for Gap1 of this pattern UINT16 counter1 ; // Counter for Gap2 of this pattern UINT16 counter2 ; // Sfn of patterns to be deactivated. 0xFFFF : already deactivated or no need to deactive // 0x8000 : immediately deactive other value: sfn to deactivate pattern. UINT16 deactivatedPatternsCmdSfn ; UINT16 reserved ; } cmReconstruct_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; /*empty*/ } WbCmReConstrutAck; //ICAT EXPORTED STRUCT typedef struct { // Pi Information // 0 = No PI ( PI=0 ) 1 = PI detected ( PI=1 ) 10 = PI missed // 11 = PI missed ( no DL TFCS command ) 100 = PI missed ( MPS Not Ready ) // 101 = PI missed ( PI timing error ) 110 = Reserved 111 = Reserved UINT16 piInd ; // SFN in which the PICH was received UINT16 sfn ; UINT8 simID ; UINT8 reserved [ 3 ] ; } WbPiReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // SFN of first frame in missed CBS message UINT16 sfn ; // Miss Reason // Bit0 Skipped due to SKIP_REQ by APLP // Bit1 Skipped due to internal PLP decision C CBS collision with PICH // Bit2 Skipped due to internal PLP decision C No HR trackers // Bit3 Skipped due to internal PLP decision C CBS release // Bit4 Skipped due to internal PLP decision C Skip to next SM // Bit5 Skipped due to internal PLP decision C TTI termination // Bit6 Skipped due to internal PLP decision C CBS timing error // Bit7 Skipped due to internal PLP decision C L2S command latency UINT16 missReason ; } WbCbsMissReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; // Skip ACK for CBS ( 0 = not-active , 1 = active ) UINT8 skipCBSAck ; // Skip ACK for PI ( 0 = not-active , 1 = active ) UINT8 skipPiAck ; } WbPichCbsSkipAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM has been punctured ( forever ) UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPuncturePIAck; //ICAT EXPORTED STRUCT typedef struct { // the specified SIM whose CBS has been aborted. UINT8 simId ; UINT8 reserved [ 3 ] ; } WbPunctureCbsAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simId ; UINT8 reserved [ 3 ] ; } WbResumeCbsAck; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // SFN-SFN reporting indication bit , 0 : no sfn-sfn or sfn-cfn , 1 : with sfn-sfn 2 with cfn-sfn UINT8 sfnSfnReportFlag ; // CRC indication: 1 : OK , 0 : Error UINT8 crcFlag ; // SFN-SFN measure results , the offset between reference RL and the earliest Path of the NC PCCPCH // Tm + SFN offset in 25215 UINT32 sfnSfnResult ; UINT16 sfnDdr ; // 0 shift not finished , 1 shift finished UINT8 shiftFinishFlag ; UINT8 simID ; } WbBchDataInd; //ICAT EXPORTED STRUCT typedef struct { // give the start address of Dl data block UINT32 dlDataStartAddr ; // the number of last frame that contained the data reported with this message // SFN ( 0 ..4095 ) or CFN ( 0 ..255 ) UINT16 frameNumber ; // TFI Value 0 ..64 UINT8 tfiValue ; // number of TrCH 0 ...7 UINT8 trchId ; // each item of this array contain 32 bits to indicates CRC status fo the MAX possible blocks in one TRCH // bit0 - TB1 , bit1-TB2.....bit31-TB32 , " 1 " =CRC OR , " 0 " =CRC error UINT32 crcIndication ; // Loop back mode2 indication : 1 : TRUE , 2 :FALSE UINT8 loopbackMode2Ind ; UINT8 simID ; UINT8 padding ; // used in loopback mode 2 // Indicates CRC length: 0 = 0 bits ( No CRC extension ) 1 = 8 bits. 10 = 12 bits. 11 = 16 bits. 100 = 24 bits. 101 = 111 are reserved crcSize_te crcLength ; // CRC content of one TB in one TRCH in loopback mode 2 UINT32 crcBits ; } WbDataInd; typedef WbDataInd WbPchDataInd ; typedef WbDataInd WbFachDataInd ; typedef WbDataInd WbDchDataInd ; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM ' s PI is comming . // 0 - SIMA // 1 - SIMB UINT8 simID ; UINT8 reserved [ 3 ] ; } WbSleepAck; //ICAT EXPORTED STRUCT typedef struct { // Sleep end reason: // 0 = Due schedule event ( PI and / or CBS ) // 1 = Due unscheduled event UINT8 sleepEndReason ; // In case of schedule event of WB: // 0 = Due to PI reception // 1 = Due to CBS reception // 10 = Due to PI and CBS reception UINT8 sleepEndEvent ; // Delta frames until next CBS event- valid only when the DRX wakeup is for PI-only event // and CBS reception is active. Otherwise set to 0xFFFF UINT16 deltaFrame ; // This parameter indicate which SIM demands the scheduled wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; // UTF Value of Base Counter when Sleep End is reported to APLP UINT32 bcUtf ; } WbSleepEndInd; //ICAT EXPORTED STRUCT typedef struct { // This parameter indicate which SIM Performed early wakeup event. // 0 - SIMA ( WB ) // 1 - SIMB ( GSM ) UINT8 wakeupSim ; UINT8 reserved [ 3 ] ; } WbEarlyWakeupAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; UINT8 reserved ; UINT16 reserved1 ; // SFN / CFN Count , 0 ~4095 UINT16 sfn ; // The current chip count from the SFN / CFN boundary UINT16 chip ; } WbSfnReadReply; //ICAT EXPORTED STRUCT typedef struct { // Time when dsp send this report , in format ( sfnCnt <<4 | slotCnt ) UINT16 reportTime ; // Rach result , ( RetransTimes<<8 ) | ( LastTxSignature<<2 ) | ( 1 -Ack ) // message sent status. ( also means ack received by plp ) // 0 = Message was sent. ( 0 - Positive Ack ) // 1 = Message was not sent due to retransmissions end up. ( 1 -No Ack ) // 10 = Message was not sent due to Negative AI. ( 2 Negative Ack ) // 11 = Reserved UINT8 msgSentStatus ; // number of retransmissions that were issued UINT8 currRetransmissions ; // Last signature code UINT8 lastTxSignature ; // Tx power in last transmission , Range [ 0x00 , 0xFF ] , 0x00 means -87.5dBm and 0xff means 40 dBm step by 0.500000 dBm UINT8 lastTxPower ; // common Edch resource index 0 ..8 , 0xFF is invalid value // instead of EaiSignature : commEdchResourceIndex = SigInd + EAiSignature UINT8 commonEdchResourceIndex ; // Access slot with aich UINT8 accessSlotConfirmAich ; // Time when prach start avoid FO , in format ( sfnCnt <<4 | slotCnt ) UINT16 startAvoidFOTiming ; UINT16 reserved1 ; } WbPrachReport; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSetEpIocEstiAck; //ICAT EXPORTED STRUCT typedef struct { UINT8 storeFlag ; // if storeFlag =1 , following 4 flag ( DC / DRX / DTX / LESS ) are valid , for APLP HHO failure process UINT8 DcState ; UINT8 DrxState ; UINT8 DtxState ; UINT8 LessModeState ; UINT8 TcEccOrderInd ; // target cell ECC order , only valid for target cell // below field is for debug print or L1V purpose UINT8 DcOrderValidity ; // valid for only Sec cell sent order and SC is during reconfig period scenario ( for debug print or L1V ) UINT8 DcOrder ; // valid for only Sec cell sent order and SC is during reconfig period ( for debug print or L1V ) // validity for CellDcOrder ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrderFlag [ 2 ] ; // DC order content , active or deactive ; [ 0 ] for primary serving cell and [ 1 ] for secondary serving cell UINT8 CellDcOrder [ 2 ] ; UINT8 CellDrxOrderFlag [ 2 ] ; UINT8 CellDrxOrder [ 2 ] ; UINT8 CellDtxOrderFlag [ 2 ] ; UINT8 CellDtxOrder [ 2 ] ; UINT8 CellLessOrderFlag [ 2 ] ; UINT8 CellLessOrder [ 2 ] ; UINT16 SubframeNum ; UINT16 FrameNum ; } HsdpaOrderReportStruct; //ICAT EXPORTED STRUCT typedef struct { // Ack on Diversity mode. // 0 = Ack for Rx Diversity Antenna OFF at ALL // 1 = Ack for Rx Diversity Antenna OFF Enabled // 2 = Ack for Rx Diversity Antenna ON UINT8 ackOnDiversityMode ; UINT8 reserved [ 3 ] ; } WbAntDivCtrlAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbSuspendEcfDrxAck; //ICAT EXPORTED STRUCT typedef struct { UINT32 reserved ; } WbCommEdchReleaseInd; //ICAT EXPORTED STRUCT typedef struct { // data block address in CP side UINT32 macHsDataAddr ; // TB size UINT16 BitLength ; // bit num b / w MAC end data start location UINT8 ByteAlignOffset ; // 0 COMMON_HRNTI / 1 BCCH_HRNTI / 2 DEDICATED_HRNTI UINT8 HrntiReceivedInd ; // for debug UINT8 NumOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT16 reserved ; } HsdpaTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // for debug UINT16 SFN ; // for debug UINT8 SubFrameCounter ; // mac-hs / mac-ehs UINT8 MacType ; // CQ00069705 modify HSDPA data interface with PLP , 2014 -09-02 UINT8 dataBlockNum ; UINT8 reserved [ 2 ] ; UINT8 simID ; HsdpaTbInfo_ts HsdpaTbInfo [ 2 ] ; } WbHsdpaDataInd; //ICAT EXPORTED STRUCT typedef struct WbScchOrderReportInfoTag { // Secondary cell active flag // 0 means not active , 1 means active UINT8 dcActiveFlag ; // DRX status UINT8 drxActiveFlag ; // DTX status UINT8 dtxActiveFlag ; // HS-SCCH less mode active flag UINT8 scchLessActiveFlag ; } WbScchOrderReportInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 PriRSSI ; UINT16 SecRSSI ; UINT8 Reserved ; UINT8 simID ; UINT8 TFCI ; UINT8 slotFormat ; UINT16 ULPC_8to14 ; UINT16 ULPC_0to7 ; // tpc error number of the last frame // this filed only for DPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( FDPCH is active ) UINT16 dpchTpcCerLastFrame ; // tpc error number of the last 60 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast60Slots ; // tpc error number of the last 240 non-gap slots // this filed only for FDPCH , in Q8 // 0xFFFF : cer not ready // 0xFFFE : th field is not valid ( DPCH is active ) UINT16 fdpchTpcCerLast240Slots ; UINT16 sirTarget ; UINT16 DLPC ; UINT16 FBIHistory ; UINT16 antVerResult ; UINT16 CMGapPosition ; UINT16 CPCGapPosition ; UINT16 rxFrameBoundaryHighWord ; UINT16 rxFrameBoundaryLowWord ; UINT16 pathMaxDiffDpch ; UINT16 signalGain ; // DPCH signal Power in Rake moduler UINT16 signalGainFwl ; UINT16 noisePowerHighWordDpch ; UINT16 noisePowerLowWordDpch ; UINT16 speedEstHReal ; UINT16 speedEstHImag ; INT16 speedEstHFwl ; UINT16 wbSpeedLevel ; // UINT16 FingerActionBitMap ; // UINT16 FingerPostion [ 8 ] ; UINT16 tdpchULECF ; // only used for UL ECF UINT16 activeSetBitMap ; UINT16 fingerCellPathId [ 8 ] ; UINT16 AgcDac [ 2 *2 ] ; // 2 2 Antenna* 2 cell UINT16 Fwl [ 2 ] ; // 2 cells , 8 bits per antenna UINT16 afcDacValue ; // 2 cells use same AFC UINT16 actualAfcFreqCorr ; // AFC correction UINT16 crcIndPerTrch ; INT32 pilotAgcEc [ 2 ] ; } WbRxStatusInfo; //ICAT EXPORTED STRUCT typedef struct MsgNextPITimingReortTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgNextPITimingReort; //ICAT EXPORTED STRUCT typedef struct MsgMTUReqReportTag { // value of Base counter or TSG timing at which PLP receiving MTU_REQ_CMD ( 0x12A ) command UINT32 BCOrTSG ; // 0 : LTE 1 :WB 2 :TD 3 :UTF UINT8 MTURAT ; UINT8 reserved [ 3 ] ; } MsgMTUReqReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapStartReportTag { UINT32 reservd ; // None. no msg content } MsgPsGapStartReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapEndReportTag { // None. no msg content UINT32 reservd ; } MsgPsGapEndReport; //ICAT EXPORTED STRUCT typedef struct MsgPsGapTriggerTag { // trigger ack. 1 accepted , will trigger gap ; 0 not accepted , will rejected gap. UINT16 triggerAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapTrigger; //ICAT EXPORTED STRUCT typedef struct MsgPsGapRemoveAckTag { // remove ack: 1 remove OK ; 0 remove fail UINT16 removeAck ; // current simID. should always be 0 . UINT16 currSimID ; } MsgPsGapRemoveAck; //ICAT EXPORTED STRUCT typedef struct MsgRecvCbsPiCompleteTag { // value of Base counter at which MTU will trigger NwakeupReq signal to PMU to wakeup MSA and prepare to receive PI or CBS UINT32 BC ; // Time calculated in chips from the current BC to BC of NwakeupReq UINT32 sleepTimeInChips ; // indication which event will be received // 0 : PI ; 1 : CBS ; 2 : PI+CBS UINT8 nextSleepReason ; // received at the specified SIM UINT8 simID ; UINT16 reserved ; } MsgRecvCbsPiComplete; //ICAT EXPORTED STRUCT typedef struct MsgDusimPhyConfgDebugTag { // None. in fact not use now UINT32 reserved ; } MsgDusimPhyConfgDebug; //ICAT EXPORTED STRUCT typedef struct MsgPsGapDebugTag { // only used to send PsGap debug info. Keep none first , detail content TBD. UINT32 reserved ; } MsgPsGapDebug; //ICAT EXPORTED STRUCT typedef struct { UINT16 data1 ; UINT16 data2 ; } MsgCommonEdchRscReleaseReport; //ICAT EXPORTED STRUCT typedef struct MsgWBResoureCtlTag { // 0 : Has opened WB resource 1 : Has Closed WB resource UINT8 closeOrOpen ; UINT8 reserved1 ; UINT16 reserved2 ; } MsgWBResoureCtl; //ICAT EXPORTED STRUCT typedef struct HsdpaDataXferCtrlCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 reserved0 [ 3 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 hsdpaDataAddrArray [ 24 ] ; } WbHsdpaDataXferCtrlCmd; //ICAT EXPORTED STRUCT typedef struct DlNormalShareMemCmdTag { // Number of blocks allocated UINT8 numOfBlocks ; UINT8 simId ; UINT8 reserved0 [ 2 ] ; // Pre allocated blocks for HSDPA DATA from L1 , used as the target address for DMA UINT32 dlDataAddrArray [ 8 ] ; } WbDlNormalShareMemReqCmd; //ICAT EXPORTED STRUCT typedef struct rlRxTxTimeDiffTag { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxTimeDiff; //ICAT EXPORTED STRUCT typedef struct WbRlRxTxTimeDiffResultTag { UINT8 numOfRls ; UINT8 refCellId ; UINT16 refScrCode ; rlRxTxTimeDiff rlRxTxDiff [ ( 6 +2 ) ] ; } WbRlRxTxTimeDiffResult; //ICAT EXPORTED STRUCT typedef struct { // Tx power in the slot of the current frame. if hsdpa is active , it represents the maximum power that was used during the slot. // UNIT: flow R7 , i.e. 0x8000 : Tx off due to CM slot ; 0x8001 : Tx off due to tx disable command ; otherwise: follow R7 UINT16 transPower ; // the maximum power that UE could be reached in the slot ( after power reductions ) , which used to generate EVENT 6 d in RRC UINT16 maxTransPower ; UINT16 powerLeft ; UINT8 pad [ 2 ] ; UINT8 BetaHs ; UINT8 BetaEc ; UINT8 BetaEd12 ; UINT8 BetaEd34 ; UINT16 BetaD ; INT16 InnerLoopAdjust ; } TxSlotPower_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 CFN ; UINT16 TFCI ; // the maximum power reached flag ; // bit0=1: transmitter at maximum power for the 1 st slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at maximum power for the 15 th slot ; 1 not at max power ; don ' t care the value in case of CM or Tx off UINT16 maxPowerFlag ; // the minimum power reached flag ; // bit0=1: transmitter at minimum power for the 1 st slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off // ....... // bit14=1: transmitter at minimum power for the 15 th slot ; 1 not at min power ; don ' t care the value in case of CM or Tx off UINT16 minPowerFlag ; // rx-tx boundary , Unit: 1 / 8 chip UINT32 TxTiming ; UINT8 TXEnable ; UINT8 simID ; UINT16 RESERVED2 ; TxSlotPower_ts slotTxPowerState [ 15 ] ; UINT16 DebugOfLastFrameTransmission [ ( 4 ) ] ; // monitor each slot -ON\GAP , in case of a gap type of gap ( CPC\CM\OOS ) UINT8 DebugInfo ; // used to align the debug } WbTxStatusInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 scrmbCodeIdx ; UINT16 chipOffsetFromCpich ; UINT16 startChipIdx ; } wbMpsHWConfigInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cellPathPathActionBitmap ; UINT8 cellPathPathExistBitmap ; } cellPathAction_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 refFrameSlotNum ; UINT16 reqBitmap ; UINT16 actionBitmap ; UINT16 atcAdjBitmap ; UINT8 wbSetActCellCmdRcvdFlag ; UINT8 wbSetActCellAckNeedSendFlag ; UINT8 freezeMpsForInterMeasInIdle ; UINT8 mpsSchdFreezeFlag ; UINT16 reserved0 ; UINT8 refCellId ; UINT8 hsdpaCellIdPri ; UINT16 exsitCellActionType ; UINT16 pendingCellActionTypeBitmap ; UINT8 wbMpsHwBusy ; UINT8 wbMpsPreScheduleResult ; UINT16 wbMpsCellPathValidBitmap ; UINT16 wbMpsCellPathChangedBitmap ; UINT16 reserved1 ; UINT8 servCellNum ; UINT8 cellNumCellSet ; wbMpsHWConfigInfo_ts wbMpsHWConfigInfo [ 2 ] ; UINT16 reserved2 ; cellPathAction_ts cellPathActionInfo [ 2 ] ; UINT8 dpchPathActionBitmap ; UINT8 dpchPathExistBitmap ; UINT8 EQpathExistFlag1 ; UINT8 EQpathExistFlag0 ; UINT8 EQpathActionType1 ; UINT8 EQpathActionType0 ; UINT16 EQpathDelay1 ; UINT16 EQpathDelay0 ; UINT8 wbMpsChanMode ; UINT8 mpsCfgAntNum ; UINT32 timeOffsetCell2BaseTx ; UINT8 dpchValidBitmap ; UINT8 dpchWinEnable ; UINT8 pendingForCellReplace ; UINT8 cellReplaceWaitForAdd ; UINT8 dpchMpsPathCheckBitmap ; UINT8 dpchRlsUpdFlag ; UINT32 existBitmap ; } WbMpsCellActionProcDebug; //ICAT EXPORTED STRUCT typedef struct { // 0 -SimA , 1 -SimB UINT8 simID ; UINT8 padding ; // 0 -Start , 1 -Retrigger , 2 -Stop , 4 -Init. Bit0-1 // 0 -DRX , 1 -Dedicate. Bit2-7 UINT8 StateAndTriggerType ; // UINT8 wbState ; // 0 -Plmn , 1 -Meas UINT8 measType ; UINT8 numOfFreq ; // 1 -Freqency list , 0 -Band UINT8 bandorList ; // Unit in ms UINT16 gapLength ; // UINT8 padding [ 2 ] ; union { // Start PLMN with FreqList Earfcn eArfcnList [ 9 ] ; // Start PLMN with Band struct { Earfcn minFreqInBand ; Earfcn maxFreqInBand ; } MinMaxFreq ; // Start Meas LteFreq_ts lteFreq [ 9 ] ; } LteFreqInfoUnion ; } WbLteInWbMeasControlCmd; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; // Cell ID UINT16 EcNo ; // linear , Q16 UINT16 Rscp ; // uint in 1 / 8 dBm } Str_WbCellInfo; //ICAT EXPORTED STRUCT typedef struct { UINT16 uArfcn ; UINT16 rssi ; // unit in 1 / 8 dBm UINT16 numOfCells ; Str_WbCellInfo wbCellInfo [ 4 ] ; } Str_WbMeasResultInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 simID ; // 0 -SimA , 1 -SimB UINT8 padding [ 3 ] ; UINT8 MeasSyncId ; // 1 -Sync , 0 -Unsync UINT8 MeasType ; // 0 -PLMN , 1 -Meas union { // Stop or Abort UINT16 TriggerType ; // StopFlag , 0xFF -Stop , 0xFE -Abort // Meas result struct { UINT8 numOfFreq ; UINT8 PartialReport ; // 1 -PartialReport , 0 -FullReport Str_WbMeasResultInfo wbMeasResultInfo [ 8 ] ; } WbMeasInfo ; } WbMeasResultUnion ; } WbWbInLteMeasReportCmd; //ICAT EXPORTED STRUCT typedef struct MsgPIGapReqTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 GapStartUTF ; // UTF represent gapstart UINT32 GapLengthUTF ; // UTFrepresent gaplenght UINT32 sleepTimeInChips ; } MsgPiGapReq; typedef MsgPiGapReq MsgCbsGapReq ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapStartTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 RealGapStartUTF ; // gap start where plp start to receive actually } MsgPiGapStart; typedef MsgPiGapStart MsgCbsGapStart ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapCancelTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapStartUTF ; // gap start which plp req UINT32 GapLengthUTF ; // gap lenght which plp req } MsgPiGapCancel; typedef MsgPiGapCancel MsgCbsGapCancel ; //ICAT EXPORTED STRUCT typedef struct MsgPiGapEndTag { UINT16 GapIndex ; UINT8 GapType ; // 0 : consecutive 1 : inconsecutive UINT8 simID ; UINT32 ReqGapEndUTF ; // gap start which plp req UINT32 RealGapEndUTF ; // gap start where plp start to receive actually } MsgPiGapEnd; typedef MsgPiGapEnd MsgCbsGapEnd ; typedef UINT16 PlpOpcodeCommands ; //ICAT EXPORTED ENUM typedef enum { // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM , no more left PLP_RF_RX_CAL_OPCODE = 0x0080 , PLP_RF_TX_CAL_OPCODE = 0x0081 , PLP_RESERVED_82_OPCODE = 0x0082 , PLP_DBG_DEV_SEL_OPCODE = 0x0083 , PLP_RF_VERSION_REQ_OPCODE = 0x0084 , // RF version PLP_RF_ERROR_HANDLER_PARAMS_OPCODE = 0x0085 , PLP_SW_RESET_OPCODE = 0x0086 , PLP_ANT_TUNER_DEBUG_OPCODE = 0x0087 , PLP_GSM_MEASURE_PARAMS_OPCODE = 0x0088 , PLP_START_PROCESS_CIPHER = 0x0089 , PLP_GET_VERSION_OPCODE = 0x008A , // DSP version PLP_FRAME_INT_CNTRL_OPCODE = 0x008B , PLP_SFN_READ_OPCODE = 0x008C , PLP_ANT_TUNER_PARAM_OPCODE = 0x008D , PLP_SET_SYS_DET_OPCODE = 0x008E , PLP_SET_PLMN_SELECTION_OPCODE = 0x008F , PLP_WB_FREQ_SCAN_OPCODE = 0x0090 , PLP_SET_WCDMA_OPCODE = 0x0091 , PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // PLP_SET_RF_CONTROLS_OPCODE = 0x0092 , // can be used later PLP_GSM_RSSISCAN_GAPLENGTH_MODE_SET = 0x0093 , // SHUT_DOWN_MTU_TRIGGER_TCU_CLEKEN PLP_SET_SFN_OFFSET_OPCODE = 0x0094 , PLP_SET_P_CCPCH_OPCODE = 0x0095 , PLP_SET_S_CCPCH_OPCODE = 0x0096 , PLP_SET_PICH_OPCODE = 0x0097 , PLP_SET_DPCH_OPCODE = 0x0098 , PLP_RX_AGC_CW_AND_INDEXES_OPCODE = 0x0099 , PLP_SET_PRACH_OPCODE = 0x009A , PLP_LOAD_ACTIVE_CELL_PARAMS = 0x009B , PLP_RESET_TRACKER_AND_SEARCHER_OPCODE = 0x009C , PLP_SET_ACTIVE_CELL_ACTION_OPCODE = 0x009D , PLP_SET_REF_TRACKER_OPCODE = 0x009E , PLP_RELEASE_PHY_OPCODE = 0x009F , PLP_SET_CBS_SCCPCH_OPCODE = 0x00A0 , PLP_SET_CBS_LEVEL_2_SCHEDULING = 0x00A1 , PLP_SET_DL_TFCS_OPCODE = 0x00A2 , PLP_SET_UL_TFCS_OPCODE = 0x00A3 , PLP_SET_DCH_DL_TRCH_OPCODE = 0x00A4 , PLP_SET_DCH_UL_TRCH_OPCODE = 0x00A5 , PLP_SET_FACH_TRCH_OPCODE = 0x00A6 , PLP_SET_PCH_TRCH_OPCODE = 0x00A7 , PLP_DL_NORMAL_SHAREMEM_ADDR_REQ = 0x00A8 , PLP_PICH_CBS_SKIP_REQ_OPCODE = 0x00A9 , PLP_SHIFT_PCCPCH_FRAME_OPCODE = 0x00AA , PLP_DCH_DATA_TX_OPCODE = 0x00AB , PLP_RACH_DATA_TX_OPCODE = 0x00AC , PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE = 0x00AD , // update msr opcodes in FB PLP_SET_ACQ_OPCODE = 0x00AE , PLP_SET_ACQ_NEXT_OPCODE = 0x00AF , PLP_SET_CPICH_SEARCH_OPCODE = 0x00B0 , PLP_SET_CELL_SEARCH_OPCODE = 0x00B1 , PLP_SET_ACQ_ABORT_OPCODE = 0x00B2 , PLP_SET_SEARCH_ABORT_OPCODE = 0x00B3 , PLP_SET_ACQ_RESUME_OPCODE = 0x00B4 , PLP_SET_MEASUREMENT_PARAM_OPCODE = 0x00B5 , PLP_GET_GSM_RSSI_OPCODE = 0x00B6 , PLP_GET_INIT_BSIC_PARAMS_OPCODE = 0x00B7 , PLP_GET_VERIFIED_BSIC_PARAMS_OPCODE = 0x00B8 , PLP_SET_DPCH_POWER_CNTRL_OPCODE = 0x00B9 , PLP_SET_UL_GAINS_OPCODE = 0x00BA , PLP_GSM_MEASURE_ABORT_OPCODE = 0x00BB , PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE = 0x00BC , PLP_READ_PD_ADC_OPCODE = 0x00BD , PLP_ANALOG_ASIC_COMMAND_OPCODE = 0x00BE , // from FB_5Mode_Dev PLP_RF_DRIVERS_CONFIG_OPCODE = 0x00BF , // from FB_5Mode_Dev // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA & 4 G LTE PLP_RF_SEQ_LOAD_OPCODE = 0x00c0 , // from FB_5Mode_Dev PLP_RF_SEQ_RUN_OPCODE = 0x00C1 , PLP_SET_GSM_TIMING = 0x00C2 , PLP_RF_EVENTS_LOAD_OPCODE = 0x00C3 , LTE_ECPHY_SET_GSM_TIMING_REQ = 0x00C4 , // 0x033B , // EcphySetGsmTimingReq PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE = 0x00C5 , MSA_POWER_MANAGER_CTRL_OPCODE = 0x00C6 , PLP_AGC_CONTROL_OPCODE = 0x00C7 , PLP_SULOG_CONTROL_OPCODE = 0x00C8 , PLP_AFC_CONTROL_OPCODE = 0x00C9 , PLP_APC_CONTROL_OPCODE = 0x00CA , PLP_RF_DRIVERS_STATUS_REQ = 0x00CB , PLP_TERMINATE_RAT = 0x00CC , PLP_DPCH_CLASS_CHANGE = 0x00CD , PLP_RX_AGC_PARAMETERS_OPCODE = 0x00CE , PLP_AFC_PARAMETERS_OPCODE = 0x00CF , PLP_TX_ENABLE_OPCODE = 0x00D0 , PLP_TX_DISABLE_OPCODE = 0x00D1 , PLP_TX_APC_PARAMETERS_OPCODE = 0x00D2 , PLP_SET_LOOP_BACK_MODE_2_OPCODE = 0x00D3 , PLP_ALLOW_BASEBAND_SLEEP_OPCODE = 0x00D4 , PLP_DISABLE_BASEBAND_SLEEP_OPCODE = 0x00D5 , PLP_RESERVED_D6_OPCODE = 0x00D6 , PLP_SET_COMPRESSED_MODE_OPCODE = 0x00D7 , PLP_SET_FACH_OCCASION_OPCODE = 0x00D8 , PLP_TX_TEST_OPCODE = 0x00D9 , PLP_RESERVED_DA_OPCODE = 0x00DA , PLP_RESERVED_DB_OPCODE = 0x00DB , PLP_SEND_TEMP_COMP_DATA = 0x00DC , // PLP_POWER_MANAGEMENT_PARAMETERS = 0x00Dc , PLP_RF_TEMP_SENSOR_MODE_OPCODE = 0x00DD , PLP_SET_HSDPA_OPCODE = 0x00DE , PLP_HSDPA_DATA_XFER_CTRL = 0x00DF , PLP_RX_DIVERSITY_PARAM = 0x00E0 , // 4 0x00E1 PLP_RF_RESET_OPCODE = 0x00E2 , // 4 0x00E3 // 4 0x00E4 PLP_RF_IF_COMMAND_OPCODE = 0x00E5 , // PLP_GSM_TX_RAMPING_COMMAND_OPCODE PLP_GSM_AFC_COARSE_COMMAND_OPCODE = 0x00E6 , // from falcon , // PLP_RESERVED_E6_OPCODE = 0x00E6 , PLP_AFE_DEBUG_OPCODE = 0x00E7 , // from FB_5Mode_Dev // 4 0x00E8 // 4 0x00E9 PLP_PHY_CFG_DEBUG_CMD = 0x00EA , PLP_WCDM_AIPC_ECHO_DATA_CMD = 0x00EB , PLP_RFIF_DEBUG_CMD = 0x00EC , PLP_DRX_DEBUG_COMMAND = 0x00ED , // used in all product LTE_ECPHY_FLASH_DSP_REQ = 0x00ED , // CQ00127994 add , only valid for crane. finally useless , refer to Redmine#89872 or CQ00127994 attachment. // 4 0x00EE PLP_DLPC_DEBUG_COMMAND = 0x00EF , CP_SEND_DSP_LOG_SETTING_OPCODE = 0x00F0 , CP_SEND_DSP_DVC_SETTING_OPCODE = 0x00F1 , // 4 0x00F2 // 4 0x00F3 PLP_RTU_DEBUG_COMMAND = 0x00F4 , // 4 0x00F5 PLP_POWER_MANAGER_DEBUG_COMMAND = 0x00F6 , CP_DSP_SULOG_CONFIG_OPCODE = 0x00F7 , PLP_RX_DEBUG_CMD = 0x00F8 , PLP_GSM_GENERIC_IPC_CMD_OPCODE = 0x00F9 , PLP_DEBUG_CH_EST_SET_OUTPUT_CMD = 0x00FA , PLP_AICH_THRESHOLD_DEBUG_CMD = 0x00FB , PLP_TB_EST_DEBUG_CMD_HANDLER = 0x00FC , PLP_BER_UTILS_SET_SWITCHES_CMD = 0x00FD , PLP_RX_SFN_SYNC_CMD = 0x00FE , // 4 0x00FF // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA PLP_IML_TEST_IPC_CMD = 0x0100 , MSA_PERIPHERAL_FREQUENCY_CHANGE_CMD_OPCODE = 0x0101 , PLP_SET_HSUPA_OPCODE = 0x0102 , MSA_CLIENT_REQUESTED_PP_CMD_OPCODE = 0x0103 , PLP_SET_DP_CALIBRATION_OPCODE = 0x0104 , PLP_START_L1_MEMORY_DUMP = 0x0105 , FAST_SLOW_CLOCKS_RATIO_ESTIMATION = 0x0106 , PLP_SET_VIRTUAL_CELL_OPCODE = 0x0107 , PLP_GSM_RF_INIT_TRIGGER_OPCODE = 0x0108 , PLP_SKYLARK_LO_LEAKAGE_UPDATE_OPCODE = 0x0109 , PLP_DIGRF_STANDALONE_TEST_IPC_CMD = 0x010A , // from FB_5Mode_Dev PLP_GET_HSUPA_SHARED_MEMORY_ADDR = 0x010B , PLP_MTU_UNIT_TEST_IPC_CMD = 0x010C , PLP_HSPA_MPR_INDICATE_OPCODE = 0x010D , // from NEZHAC_PLATFORM_APLP_GPLC PLP_DIG_POR_TRIGGER_OPCODE = 0x010E , // from FB_5Mode_Dev PLP_DIG_TAS_ALLOCATION_TBL_OPCODE = 0x010F , // from FB_5Mode_Dev // 4 0x0110 PLP_MAC_EHS_RESET = 0x0111 , // 4 0x0112 PLP_RDP_REGISTER_OPCODE = 0x0113 , // from FB_5Mode_Dev PLP_SET_CPC_OPCODE = 0x0114 , PLP_AGC_CAL_SET_OPCODE = 0x0115 , PLP_RF_DCXO_CONFIG_OPCODE = 0x0116 , PLP_EARLY_WAKEUP_OPCODE = 0x0117 , // inform PLP to wakeup , set MTU and set WB timer PLP_POWER_MANAGER_CP_REQ_OPCODE_CRANEW_DOVE = 0x0118 , // from CRANE_W_PLT & DOVE_PLT , Falcon define PLP_POWER_MANAGER_CP_REQ_OPCODE = 120 PLP_WIFI_START_SCAN_OPCODE_FALCON = 0x0119 , // Crane define PLP_WIFI_START_SCAN_OPCODE = 0x0120 , Falcon define PLP_WIFI_START_SCAN_OPCODE = 0x0119 PLP_SET_DIGRF3_GSM_WB_OPCODE = 0x011A , // from FB_5Mode_Dev PLP_SET_DIGRF3_RAMP_PROFILE_OPCODE = 0x011B , // from FB_5Mode_Dev PLP_SET_DIGRF3_LUT2_OPCODE = 0x011C , // from FB_5Mode_Dev PLP_SET_DIGRF3_4BAND_OOS_OPCODE = 0x011D , // from FB_5Mode_Dev // 4 0x011E PLP_WIFI_RSSICORRECT_OPCODE_CRANEW_DOVE = 0x011F , // from CRANE_W_PLT & DOVE_PLT , Crane define PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 PLP_POWER_MANAGER_CP_REQ_OPCODE = 0x0120 , // from Falcon // #ifdef L1_WIFI_LOCATION PLP_WIFI_START_SCAN_OPCODE = 0x0120 , PLP_WIFI_STOP_SCAN_OPCODE = 0x0121 , PLP_WIFI_GAP_START_OPCODE = 0x0122 , // #endif PLP_APC_REPORT_OPCODE = 0x0123 , PLP_SET_TARGET_CELL_HSSCCH_OPCODE = 0x0124 , PLP_SET_COMMON_EDCH_RESOURCE_PARAMS_OPCODE = 0x0125 , PLP_DISABLE_MSA_POWER_DOWN_OPCODE = 0x0126 , // 4 0x0127 // Used in DSDS scenario PLP_PUNCTURE_PI_OPCODE = 0x0128 , PLP_TRIGGER_WB_PI_OPCODE = 0x0129 , PLP_LATCH_MTU_OPCODE = 0x012A , PLP_ACQ_ABORT = 0x012B , PLP_DRX_CONTROL_OPCODE = 0x012C , PLP_SECONDARY_CELL_CONTROL_CMD_OPCODE = 0x012D , PLP_DUALSIM_RESOURCE_CONTROL_OPCODE = 0x012E , PLP_ABORT_CBS_PI = 0x012F , PLP_STACK_METER_MASK_TABLE_CMD = 0x0130 , // from FB_5Mode_Dev PLP_DUALSIM_WB_DET_COPYCODE_CMD = 0x0131 , // Inform PLP copy WB code PLP_TRIGGER_LTE_MEAS_IN_WB = 0x0132 , PLP_PS_GAP_REQ_OPCODE = 0x0133 , // 0x013A -> 133 due to collision with LTE. request by yunfeng PLP_PS_GAP_REMOVE_OPCODE = 0x0134 , // 0x013B -> 134 due to collision with LTE PLP_PS_GAP_STOP_IN_ADVANCE = 0x0135 , // 0x013C -> 135 due to collision with LTE PLP_GENERIC_DEBUG_CMD = 0x0136 , // from FB_5Mode_Dev PLP_DUALSIM_GSM_DET_COPYCODE_CMD = 0x0137 , // Inform PLP copy 2 G code before gsm Gap PLP_GSM_RAT_INIT_OPCODE = 0x0138 , // 0x013D ->0x0138 due to collision with LTE PLP_RF_APC_PD_CALIB_EN_OPCODE = 0x0139 , PLP_APLP_CHECK_WB_MEAS_FOR_LTE = 0x013A , PLP_TRIGGER_WB_MEAS_IN_LTE_TASK = 0x013B , PLP_WB_MEAS_IN_LTE_RESULT = 0x013C , PLP_LTE_CHECK_WB_MEAS_DEBUG = 0x013D , // not used for FRBD , should delete PLP_LTE_SCHEDULE_WB_MEAS_DEBUG = 0x013E , // not used for FRBD , should delete // 4 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , Reserved for 6 G RRC PLP_WIFI_RSSICORRECT_OPCODE = 0x0140 , // 2 0x0180 ~ 0x01BF ( setID=06 ) , Reserved for 6 G MAC , never used before // 2 0x01C0 ~ 0x01FF ( setID=07 ) , Reserved for future , never used before // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future , never used before // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC-L1 , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G , former used for 3 G TDSCDMA , should not add here // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for 4 G LTE RRC , no more left // LTE_NORMAL_REQ = 0x02C1 , // useless , 0x02C1 aready use by below LTE_MBMS_CONFIG_REQ = 0x02C1 LTE_MBMS_CONFIG_REQ = 0x02C1 , /*CQ00087914 add*/ LTE_CELL_SEARCH_REQ = 0x02C3 , LTE_NEXT_CELL_SEARCH_REQ = 0x02C5 , LTE_BCH_RX_REQ = 0x02C7 , LTE_BCH_STOP_RX_REQ = 0x02C9 , LTE_PCH_RX_REQ = 0x02CB , LTE_RL_COMMON_SIB1_CONFIG_REQ = 0x02CD , LTE_RL_COMMON_CONFIG_REQ = 0x02CF , LTE_RL_DEDICATED_CONFIG_REQ = 0x02D1 , LTE_SCELL_MEAS_REQ = 0x02D3 , LTE_SCELL_STOP_MEAS_REQ = 0x02D5 , // add tmo LTE_INTRA_NCELL_INFO_REQ = 0x02D7 , LTE_INTER_NCELL_INFO_REQ = 0x02D9 , LTE_INTRA_NCELL_MEAS_REQ = 0x02DB , LTE_INTER_NCELL_MEAS_REQ = 0x02DD , LTE_NCELL_BCH_RX_REQ = 0x02DF , LTE_NCELL_BCH_STOP_RX_REQ = 0x02E1 , LTE_DEACTIVE_REQ = 0x02E3 , LTE_DRX_CELL_SEARCH_REQ = 0x02E5 , LTE_DRX_NEXT_CELL_SEARCH_REQ = 0x02E7 , LTE_HANDOVER_REQ = 0x02E9 , LTE_INTRA_NCELL_MEAS_STOP_REQ = 0x02EB , LTE_INTER_NCELL_MEAS_STOP_REQ = 0x02ED , LTE_SFN_BOUNDARY_REQ = 0x02EF , LTE_MEAS_GAP_ACT_RELEASE_REQ = 0x02F1 , LTE_CELL_RESELECTION_REQ = 0x02F3 , LTE_SLEEP_CNF = 0x02F5 , LTE_WAKE_UP_REQ = 0x02F7 , LTE_ECPHY_LTE_NCELL_BCH_REQ = 0x02F9 , // EcphyLteNcellBchReq LTE_ECPHY_LTE_NCELL_BCH_STOP_REQ = 0x02FB , // EcphyLteNcellBchStopReq LTE_ECPHY_HANDOVER_TO_TDD_UTRA_REQ = 0x02FD , // EcphyHandoverToTddUtraReq LTE_PMCHINFO_RX_REQ = 0x02FF , /*CQ00087914 add*/ // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for 4 G LTE RRC , no more left LTE_ECGI_BCH_RX_REQ = 0x02C0 , LTE_ECGI_BCH_STOP_RX_REQ = 0x02C2 , LTE_ECPHY_HANDOVER_TO_FDD_UTRA_REQ = 0x02C4 , // EcphyHandoverToFddUtraReq LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_REQ = 0x02C6 , // EcphyDrxFindFTddUtraCellReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_REQ = 0x02C8 , // EcphyFddUtraNcellBchReq LTE_ECPHY_FDD_UTRA_NCELL_BCH_STOP_REQ = 0x02CA , // EcphyFddUtraNcellBchStopReq LTE_ECPHY_MONITOR_FDD_UTRA_CELL_REQ = 0x02CC , // EcphyMonitorFddUtraCellReq LTE_ECPHY_STOP_FDD_UTRA_MEAS_REQ = 0x02CE , // EcphyStopFddUtraMeasReq LTE_TDD_UTRA_CGI_REQ = 0x02D0 , LTE_TDD_UTRA_CGI_STOP_REQ = 0x02D2 , LTE_FDD_UTRA_CGI_REQ = 0x02D4 , LTE_FDD_UTRA_CGI_STOP_REQ = 0x02D6 , LTE_GSM_CGI_REQ = 0x02D8 , LTE_GSM_CGI_STOP_REQ = 0x02DA , LTE_ECPHY_SCELL_COMMON_CONFIG_REQ = 0x02DC , // EcphyScellCommonConfigReq LTE_ECPHY_SCELL_DEDICATED_CONFIG_REQ = 0x02DE , // EcphyScellDedicatedConfigReq LTE_EPHY_ACTIVATION_SCELL_REQ = 0x02E0 , // EphyActivationScellReq LTE_ECPHY_MEAS_SP_PCELL_CONFIG_REQ = 0x02E2 , // EcphyMeasSubframePatternPCellConfigReq LTE_ECPHY_COMMON_REQ = 0x02E4 , LTE_ECPHY_DS_CMD_MUX_REQ = 0x02E6 , // EcphyDsCmdMuxReq // CQ00054035 DSDS LTE_TX_POWER_BACKOFF_DATA_REQ = 0x02E8 , // CQ58500 LTE_TX_POWER_BACKOFF_SET_REQ = 0x02EA , // CQ58500 LTE_ECPHY_ENG_INFO_REQ = 0x02EC , // EcphyEngInfoReq , CQ00061103 LTE_ECPHY_STOP_ENG_INFO_REQ = 0x02EE , // EcphyStopEngInfoReq , CQ00061103 LTE_TX_POWER_ADJUST_DATA_REQ = 0x02F0 , // CQ00125059 add LTE_ECPHY_LTE_MEAS_FROM_NR_REQ = 0x02F2 , // EcphyLteMeasFromNrReq , for 4 g meas @ 5 g LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_REQ = 0x02F4 , // EcphyLteStopMeasFromNrReq , for 4 g meas @ 5 g LTE_DSP_DEBUG_RRC_RECONFIG_CMP = 0x02F6 , // CQ00101907 add LTE_DSP_DEBUG_RRC_RECONFIGCMP_ACK = 0x02F8 , // CQ00101907 add LTE_ECPHY_FIND_CELL_ABORT_REQ = 0x02FA , // CQ00137094 add // #if defined ( LTE_HIGH_MOBILITY_OPTIMIZATION ) // CQ00139190 del LTE_ECPHY_COMMON_CTRL_REQ = 0x02FC , // CQ00123849 add // #endif // CQ00139190 del LTE_PDCCH_INFO_ERR_ENABLE_REQ = 0x02FE , /*CQ00095671 add for L1V*/ // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for 4 G LTE MAC & RRC , no more left LTE_MCCH_RX_REQ = 0x0301 , /*CQ00087914 add*/ // LTE MAC Req start LTE_EPHY_ACCESS_REQ = 0x0303 , // EphyAccessReq LTE_EPHY_TIMING_ADVANCE_COMMAND = 0x0305 , // EphyTimingAdvanceCommand LTE_EPHY_MSG3_DATA_REQ = 0x0307 , // EphyMsg3DataReq LTE_EPHY_REPORT_MAC_MSG_IND = 0x0307 , // for extra message indication to MAC , special IPC 0x0307 LTE_EPHY_CRNTI_CONFIG = 0x0309 , // EphyCrntiConfig LTE_EPHY_MAC_RESET_REQ = 0x030B , // EphyMacResetReq LTE_EPHY_DRX_COMMAND = 0x030D , // EphyDrxCommand LTE_EPHY_SCHEDULING_REQEST_REQ = 0x030F , // EphySchedulingRequestReq LTE_EPHY_DATA_REQ = 0x0311 , // EphyDataReq LTE_EPHY_RESTART_DLPL_MONITOR_REQ = 0x0313 , // EphyRestartDlPathlossMonitorReq LTE_EPHY_START_TIMER_REQ = 0x0315 , // EphyStartTimerReq LTE_EPHY_STOP_TIMER_REQ = 0x0317 , // EphyStopTimerReq LTE_EPHY_INITIALIZE_REQ = 0x0319 , // EphyInitializeReq LTE_DSP_DEBUG_PARA_CMD = 0x031B , LTE_EPHY_CLASSMARK_REQ = 0x031D , // for L1A // LTE MAC Req end LTE_EMPH_MONITOR_LTE_NCELL_REQ = 0x031F , // EmphMonitorLteNcellReq LTE_ECPHY_GSM_BSIC_REQ = 0x0321 , // EcphyGsmBsicReq LTE_ECPHY_OTDOA_CONFIG_REQ = 0x0323 , // EcphyOtdoaConfigReq LTE_ECPHY_GSM_NCELL_BCH_REQ = 0x0325 , // EcphyGsmNcellBchReq LTE_ECPHY_GSM_NCELL_BCH_STOP_REQ = 0x0327 , // EcphyGsmNcellBchStopReq LTE_ECPHY_MONITOR_GSM_CELL_REQ = 0x0329 , // EcphyMonitorGsmCellReq LTE_ECPHY_DRX_FIND_GSM_CELL_REQ = 0x032B , // EcphyDrxFindGsmCellReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_REQ = 0x032D , // EcphyGsmDrxFindLteCellReq LTE_ECPHY_STOP_GSM_CELL_MEAS_REQ = 0x032F , // EcphyStopGsmCellMeasReq LTE_ECPHY_MONITOR_TDD_UTRA_CELL_REQ = 0x0331 , // EcphyMonitorTddUtraCellReq LTE_ECPHY_STOP_TDD_UTRA_MEAS_REQ = 0x0333 , // EcphyStopTddUtraMeasReq LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_REQ = 0x0335 , // EcphyDrxFindTddCellReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_REQ = 0x0337 , // EcphyTddUtraNcellBchReq LTE_ECPHY_TDD_UTRA_NCELL_BCH_STOP_REQ = 0x0339 , // EcphyTddUtraNcellBchStopReq LTE_ECPHY_OTDOA_STOP_REQ = 0x033B , // EcphyOtdoaStopReq LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_REQ = 0x033D , // EcphyGsmDrxFindLteCellAbortReq LTE_EPHY_MBMS_ACTIVATE_LCID_AND_MSI_CONFIG = 0x033F , // for MAC , EphyMbmsActiveLcidAndMsiConfigTag , NOTE: duplicate with LTE_L1_PSM_DATA_RSP , MBMS not enabled , may need changed in future. LTE_L1_PSM_DATA_RSP = 0x033F , // CQ00124925 add // 2 0x0300 ~0x033F ( setID=12 ) , even num , for 4 G LTE MAC & RRC DSP_REG_ACCESS_REQ = 0x0300 , // For TSX , by shangfei TSX_CTRL_TF_UPDATE_CMD = 0x0302 , // reserved for ShangFei future use , changed from 0x330 // 4 0x0306 ~ 0x0320 LTE_MRAT_RSSI_SCAN_REQ = 0x0322 , LTE_MRAT_RSSI_SCAN_SUSPEND_REQ = 0x0324 , LTE_MRAT_RSSI_SCAN_RESUME_REQ = 0x0326 , LTE_RSSI_SCAN_ABORT_REQ = 0x0328 , LTE_MRAT_RSSI_SCAN_ABORT_REQ = 0x0328 , // APLP use it LTE_ECPHY_DRX_FIND_CELL_ABORT_REQ = 0x032A , // CQ00137094 add /*CQ00144871 start add , for Lapwing*/ LTE_ECPHY_DRX_FIND_NR_CELL_REQ = 0x032C , // EcphyDrxFindNrCellReq ; LTE_ECPHY_NR_NCELL_BCH_REQ = 0x032E , // EcphyNrNcellBchReq & EcphyNrCgiBchReq , differ by bchType DSP_IPC_LOG_CONTROL_CONFIG_CMD = 0x0330 , // ipc log control , start from falcon , but crane...also need it LTE_ECPHY_NR_NCELL_BCH_STOP_REQ = 0x0332 , // EcphyNrNcellBchStopReq & EcphyNrCgiBchStopReq , differ by bchType LTE_ECPHY_NR_MEAS_REQ = 0x0334 , // EcphyNrMeasReq ; LTE_ECPHY_STOP_NR_MEAS_REQ = 0x0336 , // EcphyStopNrMeasReq ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_REQ = 0x0338 , // EcphyDrxFindNrCellAbortReq ; /*CQ00144871 end add , for Lapwing*/ // 4 0x033A // 4 0x033C // 4 0x033E // 2 0x0340 ~0x037F ( setID=13 ) , reserved for future , former used for 3 G TDSCDMA Calibration // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE Calibration & 4 G LTE RRC-L1 // 4 NOTE: below opcode already used by LTE cali , better not use!!! cali IPCs are registered separately. IPC_DCXO_SEND_RF_CALIBRATION_DATA = 0x0387 , IPC_DCXO_MODE_CMD_OPCODE = 0x0388 , // 2 0x03C0 ~0x03FF ( setID=15 ) , for 5 G NR MAC-L1 , should not add here IPC_BT_REQUEST_26M_CLOCK = 0x03C0 , // bt_api.c use it , BT open 26 M clock , for NR 0x0304 , otherwise , 0x03C0 } plpCommands; //ICAT EXPORTED ENUM typedef enum { // 2 0x0000 ~ 0x003F ( setID=00 ) , for PLP MEM , the rest reserved for Platform & device PLP_MEM_IPC_ECHO_OPCODE = 0x0000 , PLP_MEM_IPC_ECHO_RESPONSE_OPCODE = 0x0001 , PLP_MEM_READ_RESPONSE_BYTE_OPCODE = 0x0002 , PLP_MEM_READ_RESPONSE_WORD_OPCODE = 0x0003 , PLP_MEM_READ_LONG_REPLY = 0x0004 , PLP_MEM_IPC_POINTER_RESPONSE_OPCODE = 0x0005 , PLP_EXCEPTION = 0x0006 , PLP_OVERFLOW = 0x0008 , PLP_MEM_SEND_TIMERS_DEBUG_OPCODE = 0x0007 , PLP_MEM_SEND_RPM_DEBUG_OPCODE = 0x0009 , PLP_MEM_SEND_HDT_DEBUG_OPCODE = 0x000A , PLP_SYSTEM_SEND_DSP_REGISTERS_DATA = 0x000B , PLP_SYSTEM_SEND_TRACE_BUFFER_DATA = 0x000C , // 4 0x000D ~0x003F // 2 0x0040 ~ 0x007F ( setID=01 ) , for audio , defin3d in auc.h // 2 0x0080 ~ 0x00BF ( setID=02 ) , for 2 G GSM PLP_REPORT_RESERVED1 = 0x0080 , PLP_REPORT_RESERVED2 = 0x0081 , PLP_VERSION_REPORT = 0x0082 , PLP_RF_SEQ_ACK_OPCODE = 0x0083 , PLP_RF_VERSION_REPORT = 0x0084 , // #ifdef MACRO_FOR_LTG // PLP_SW_DOWNLOAD_REQUEST = 0x0084 , // CQ00149550 del , by code review // #endif RF_CAL_VERSION_REPORT = 0x0085 , // CQ00149550 modify from PLP_SW_BLOCK_DOWNLOAD_ACK which is useless PLP_SLEEP_ACK_OPCODE = 0x0086 , PLP_SLEEP_END_OPCODE = 0x0087 , PLP_GSM_TIME_REPORT = 0x0088 , // modified by kyyang. PLP_MODE_REPORT_OPCODE = 0x0089 , // MSG_PLP_ACQ_REPORT_OPCODE = 0x008a , // pls. find 0x8a below MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE = 0x008A , PLP_PI_REPORT = 0x008B , PLP_SFN_READ_REPLY_OPCODE = 0x008C , PLP_PICH_CBS_SKIP_ACK_OPCODE = 0x008D , PLP_PHY_SETUP_COMPLETE_ACK_OPCODE = 0x008E , PLP_PHY_SETUP_ACK_OPCODE = 0x008F , PLP_PHY_RELEASE_ACK_OPCODE = 0x0090 , PLP_SET_ACTIVE_CELL_ACTION_ACK = 0x0091 , PLP_CBS_MISS_REPORT = 0x0092 , PLP_CBS_LEVEL_2_SCHEDULING_ACK = 0x0093 , PLP_BCH_DATA_RX_OPCODE = 0x0094 , PLP_PCH_DATA_RX_OPCODE = 0x0095 , PLP_FACH_DATA_RX_OPCODE = 0x0096 , PLP_DCH_DATA_RX_OPCODE = 0x0097 , PLP_DSCH_DATA_RX_OPCODE = 0x0098 , PLP_PRACH_REPORT_OPCODE = 0x0099 , PLP_RX_STATUS_OPCODE = 0x009A , PLP_TX_STATUS_OPCODE = 0x009B , PLP_COMPRESSED_PATTERNS_REPORT = 0x009C , PLP_GSM_RSSI_REPLY = 0x009D , // update msr opcodes in FB MSG_PLP_ACQ_REPORT_OPCODE = 0x009E , MSG_PLP_CPICH_SEARCH_REPORT_OPCODE = 0x009F , MSG_PLP_CELL_SEARCH_REPORT_OPCODE = 0x00A0 , PLP_GSM_BSIC_IDENTIFY_REPLY = 0x00A1 , PLP_GSM_BSIC_RECONFIRM_REPLY = 0x00A2 , PLP_GP_ADC_REPLY = 0x00A3 , // reuse PLP_AASIC_REG_REPLY PLP_SKYLARK_SELF_LO_CAL_REPLY_OPCODE = 0x00A4 , PLP_UE_RX_TX_TIME_DIFF_ACK = 0x00A5 , PLP_GSM_MEASURE_ABORT_ACK = 0x00A6 , PLP_RX_AGC_VAL_REPORT_OPCODE = 0x00A7 , PLP_AFC_VAL_REPORT_OPCODE = 0x00A8 , // used only in fast calibration PLP_RF_DRIVERS_STATUS_REPLY = 0x00A9 , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_TX_APC_CONTROL_REPLY_OPCODE = 0x00Aa , PLP_COMPRESSED_MODE_STATE_REPORT_OPCODE = 0x00AA , PLP_AFC_CONTROL_REPLY_OPCODE = 0x00AB , // orenf - this opcode not used any more - using the opcode for another purpose: // PLP_RF_DIG_CONTROL_REPLY_OPCODE = 0x00Ac , PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE = 0x00AC , PLP_SYNTHESIZER_ACK = 0x00AD , PLP_MSG_LLR_DPCH_RAKE_STATUS_OPCODE = 0x00AE , PLP_RF_EVENTS_LOAD_ACK_OPCODE = 0x00AF , // from FB_5Mode_Dev PLP_COMPRESSED_ERROR = 0x00B0 , PLP_RF_SEQ_LOAD_ACK_OPCODE = 0x00B1 , // from FB_5Mode_Dev PLP_POWER_DOMAIN_REQUEST_OPCODE = 0x00B2 , PLP_REPORT_RESERVED15 = 0x00B2 , PLP_PROTO_VERSION_REPLY = 0x00B3 , PLP_COM_ERR = 0x00B4 , PLP_MSG_COM_HSDPA_STATUS = 0x00B5 , PLP_HSDPA_RX_DATA = 0x00B6 , PLP_GSM_DEBUG_BSIC_DECODE_AT_WB = 0x00B7 , // CQ00149550 modify , GSM use it in 1802 S PLP_BB_SLEEP_START_REPORT_OPCODE = 0x00B8 , WB_SLOW_CLOCK_CALIBRATION_DATA = 0x00B9 , // from FB_5Mode_Dev PLP_RX_AGC_CW_AND_INDEXES_ACK = 0x00BA , // 4 0x00BB , better not reuse , because L1 may already use it while pl_cscmd.h not record. // 4 0x00BC // 4 0x00BD PLP_TEMPERATUR_READING_REPLY_OPCODE = 0x00BE , PLP_WB_LTE_DCXO_DAC_VALUE_REPORT = 0x00BF , // 2 0x00C0 ~ 0x00FF ( setID=03 ) , for 3 G WCDMA PLP_TX_OPCODE = 0x00C0 , PLP_TX_PACKET = 0x00C1 , // 4 0x00C2 ~ 0x00C7 PLP_MSG_TURBO_BUFFER_IQ_SAMPLES = 0x00C8 , // 4 0x00C9 ~ 0x00D6 PLP_MSG_RX_AGC_REPORT_OPCODE = 0x00D7 , // 4 0x00D8 PLP_MSG_RF_TEST_ACK_OPCODE = 0x00D9 , // 4 0x00DB PLP_MSG_SCCPCH_STATUS_OPCODE = 0x00DC , PLP_MSG_ACQUISITION_STATUS_OPCODE = 0x00DD , PLP_MSG_DRX_STATUS_OPCODE = 0x00DE , PLP_COM_WARNING = 0x00DF , PLP_MSG_SUPER_TRACKER_STATUS_REPLY_OPCODE = 0x00E0 , PLP_MSG_CH_EST_DEBUG_OPCODE = 0x00E1 , PLP_MSG_LLR_DEBUG_OPCODE = 0x00E2 , PLP_MSG_SEARCHER_DEBUG_OPCODE = 0x00E3 , PLP_MSG_TRACKING_DEBUG_OPCODE = 0x00E4 , PLP_MSG_TX_DEBUG_OPCODE = 0x00E5 , PLP_MSG_GEN_IPC_DEBUG = 0x00E6 , // 4 0x00E7 PLP_MSG_TRACKERS_DBG_STATUS_REPLY_OPCODE = 0x00E8 , PLP_MSG_COMPRESSED_MODE_DEBUG_OPCODE = 0x00E9 , PLP_MSG_MODE_SWITCH_DEBUG_OPCODE = 0x00EA , PLP_MSG_DATA_ECHO_OPCODE = 0x00EB , // 4 0x00EC PLP_MSG_DRX_MAN_DEBUG_OPCODE = 0x00ED , CP_DSP_POWERMANAGER_CONFIG_OPCODE = 0x00EE , PLP_DLPC_DEBUG_OPCODE = 0x00EF , PLP_MEMORY_DUMP_LINE_DUMP_OPCODE = 0x00F0 , PLP_PFMU_REPORT_OPCODE = 0x00F1 , PLP_FLASH_TEST_DEBUG_OPCODE = 0x00F2 , PLP_PRACH_DEBUG_OPCODE = 0x00F3 , PLP_TRACKING_LOOPS_DATA_REPLY = 0x00F4 , PLP_RX_UNIT_TEST_REPLY_DEBUG_OPCODE = 0x00F5 , PLP_POWER_MANAGER_DEBUG_OPCODE = 0x00F6 , // 4 0x00F7 // 4 0x00F8 PLP_MSG_GSM_GENERIC_IPC_OPCODE = 0x00F9 , // 4 0x00FA PLP_AICH_DEBUG_OPCODE = 0x00FB , PLP_TPC_BER_EST_DEBUG_OPCODE = 0x00FC , PLP_CLTD_UNIT_TEST_REPLY = 0x00FD , PLP_FPGA_VERSION_REPLY = 0x00FE , PLP_2G_FROM_3G_DEBUG_OPCODE = 0x00FF , // 2 0x0100 ~ 0x013F ( setID=04 ) , for 3 G WCDMA // 4 0x0100 MSA_PERIPHERAL_FREQUENCY_CHANGE_ACK_OPCODE = 0x0101 , MSG_PLP_MSR_DEBUG_OPCODE = 0x0102 , MSG_PLP_SEARCH_ABORT_ACK_OPCODE = 0x0103 , MSG_PLP_ACQ_ABORT_ACK_OPCODE = 0x0104 , PLP_VIRTUAL_CELL_ACK = 0x0105 , // 4 0x0106 PLP_RX_DP_CALIBRATION_REPORT_OPCODE = 0x0107 , PLP_GSM_RF_INIT_ACK_OPCODE = 0x0108 , PLP_TX_TEST_ACK = 0x0109 , LTE_ECPHY_SET_GSM_TIMING_CNF = 0x010A , // 0x033C , // EcphySetGsmTimingCnf // 4 0x010C // 4 0x010D PLP_DIG_POR_REPLY_OPCODE = 0x010E , PLP_CBS_WAKE_PERIOD_DONE_OPCODE = 0x010F , CBS_LEVEL2_PERIOD_DONE_OPCODE = 0x0110 , PLP_CBS_PI_APPROACHING = 0x0111 , CBS_SWITCHED_TO_L1S_OPCODE = 0x0112 , PLP_RDP_REGISTER_ACK_OPCODE = 0x0113 , // 4 0x0114 PLP_TX_POWER_REPORT_OPCODE = 0x0115 , // 4 0x0116 // 4 0x0117 PLP_SET_TX_APC_REPLY_OPCODE = 0x0118 , // 4 0x011A ~ 0x011E PLP_RX_DIVERSITY_CONTROL_ACK = 0x011F , // from NEZHAC_PLATFORM_APLP_GPLC // 4 0x0121 FACH_OCCASION_ACK = 0x0122 , PLP_MSG_FFT_ACK_OPCODE = 0x0123 , PLP_RF_UNDERFLOW_ERROR_IND = 0x0124 , // -+ CQ00186718 27 -Oct-2011 +- TX_DISABLE_ACK = 0x0125 , // -+ CQ00186718 27 -Oct-2011 +- // 4 0x012E // 4 0x012F PLP_MSG_TIME_TRACKING_DEBUG_OPCODE = 0x0130 , PLP_MSG_PHY_CFG_INHERIT_DEBUG_OPCODE = 0x0131 , PLP_MSG_DLPC_BAD_CRC_DTX_DEBUG_OPCODE = 0x0132 , // 4 0x0133 ~ 0x0138 PLP_MSG_IQ_BUFFER_READY = 0x0139 , // 4 0x013A ~ 0x013F // 2 0x0140 ~ 0x017F ( setID=05 ) , for 3 G WCDMA // 4 0x0140 // 4 0x0141 PLP_ASYNC_CIPHER_ACK = 0x0142 , PLP_APC_DAC_REPORT_OPCODE = 0x0143 , // 4 0x0144 ~ 0x014A PLP_APC_PD_REPORT_OPCODE = 0x014B , // 4 0x014C PLP_AUXADC_REPORT_OPCODE = 0x014D , PLP_RAMPDACOFFSETCAL_REPLY_OPCODE = 0x014E , // 4 0x014F PLP_WB_MEAS_IN_LTE_NEW_CYCLE_START = 0x0150 , PLP_WB_MEAS_IN_LTE_RF_CLOSED = 0x0151 , PLP_FIND_WB_CELL_IN_LTE_REQ = 0x0152 , PLP_CHECK_RESULT_DEBUG = 0x0153 , // 4 0x0154 PLP_LTE_MEAS_IN_WB_REPORT = 0x0155 , PLP_WB_RF_READY_AFTER_LTE_MEAS = 0x0156 , // 4 0x0157 ~ 0x016B PLP_PI_GAPREQ = 0x016C , PLP_PI_GAPCANCEL = 0x016D , PLP_PI_GAPSTART = 0x016E , PLP_PI_GAPEND = 0x016F , // Added for dualsim PLP_UPDATE_REFCELL_SEARCH_WIN = 0x0170 , PLP_DUALSIM_DEBUG_MESSAGE = 0x0171 , PLP_DUALSIM_DEBUG_ID = 0x0172 , PLP_SLOWCLOCK_RATIO_EST_ACK_OPCODE = 0x0173 , // 0x0173 PlpSlowClockRatioEstAck PLP_MSG_GSM_RAT_INIT = 0x0174 , PUNCTURE_PI_ACK = 0x0175 , PLP_NEXT_PI_TIMING_REPORT = 0x0176 , PLP_LATCH_MTU_REPLY = 0x0177 , PLP_ACQ_ABORT_ACK = 0x0178 , PLP_PI_REJECT_BY_GSM = 0x0179 , // 4 0x017A // 4 0x017B PLP_CBS_GAPREQ = 0x017C , PLP_CBS_GAPCANCEL = 0x017D , PLP_CBS_GAPSTART = 0x017E , PLP_CBS_GAPEND = 0x017F , // 2 0x0180 ~ 0x01BF ( setID=06 ) , for 3 G WCDMA PS_GAP_START = 0x0180 , PS_GAP_END = 0x0181 , PS_GAP_TRIGGER = 0x0182 , PS_GAP_REMOVE_ACK = 0x0183 , PLP_DUALSIM_RESOURCE_CONTROL_ACK = 0x0184 , PLP_ABORT_CBS_PI_ACK = 0x0185 , PLP_RECV_CBS_PI_COMPLETE = 0x0186 , PLP_REQ_TERMINATE_FLY_WHEEL = 0x0187 , PLP_DUALSIM_GSM_DET_COPYCODE_CMP = 0x0188 , PLP_DUALSIM_WB_DET_COPYCODE_CMP = 0x0189 , PLP_MSG_EARLY_WAKEUP_ACK_OPCODE = 0x018A , // 0x018A ACK For PLP_EARLY_WAKEUP_OPCODE PLP_MSG_RESUME_CBS_ACK_OPCODE = 0x018B , // 0x018B ACK For PLP_RESUME_CBS_ACK PLP_WB_RF_RESET_EVT_RPT = 0x018C , // 0x018C RF Reset Event Report // 4 0x018D // 4 0x018E // 4 0x018F PLP_DUALSIM_PHY_CONFIG_DEBUG = 0x0190 , PLP_PS_GAP_DEBUG = 0x0191 , PLP_GSM_TRIGGER_WB_PAGING_DEBUG = 0x0192 , // 4 0x0193 ~ 0x0197 PLP_MSG_GSM_LATCH_MTU_ACK = 0x0198 , PLP_MSG_MPS_REF_CELL_CHANGE = 0x019A , // 4 0x019B ~ 0x01BF // 2 0x01C0 ~ 0x01FF ( setID=07 ) , for 3 G WCDMA , Reserved for future PLP_MSG_PI_TASK_CMP = 0x01C3 , PLP_MSG_DSP_ESCEPTION_OPOCODE = 0x01C6 , /* LC / LM Urgent Data GeneralReserved Set-ID RSV Set-ID Sub-Opcode 1 bit 1 bit 1 bit 2 bits 1 bit 4 bits 6 bits */ /*special opcode , because set data bit =1*/ PCH_DDATA_RX = 0x2095 , FACH_DDATA_RX = 0x2096 , DCH_DDATA_RX = 0x2097 , /*special opcode , because set data bit =1*/ // 2 0x0200 ~ 0x023F ( setID=08 ) , Reserved for future MSG_WIFI_SCAN_IND = 0x0200 , MSG_WIFI_STOP_SCAN_CNF = 0x0201 , MSG_WIFI_GAP_FINISH_IND = 0x0202 , // 4 0x0203 ~ 0x023F // 2 0x0240 ~ 0x027F ( setID=09 ) , for 5 G NR RRC , former used for 3 G TDSCDMA , should not add here // 2 0x0280 ~ 0x02BF ( setID=10 ) , reserved for 5 / 6 G RRC , former used for 3 G TDSCDMA , should not add here TD_DSP_FI_SIMU_IND = 0x282 , // still keep it to avoid build error , because plat function traceMsgReceivedFromDSPShell ( ) use it. DSP_IPC_DDR_FREQ_IND = 0x029C , // still keep it to avoid build error , because plat function IPCDebugRegistration ( ) use it. // 2 0x02C0 ~0x02FF ( setID=11 ) , even num , for LTE , no more left LTE_ECGI_BCH_RX_IND = 0x02C0 , LTE_MBMS_STATISTIC = 0x02C2 , // CQ00149550 modify from LTE_NORMAL_IND , L1 use it in early 1826 LTE_CELL_INFO_IND = 0x02C4 , LTE_BCH_RX_IND = 0x02C6 , LTE_PCH_RX_IND = 0x02C8 , LTE_SCELL_MEAS_IND = 0x02CA , LTE_INTRA_NCELL_MEAS_IND = 0x02CC , LTE_INTER_NCELL_MEAS_IND = 0x02CE , LTE_NCELL_BCH_RX_IND = 0x02D0 , LTE_HANDOVER_CNF = 0x02D2 , LTE_SYNC_STATUS_IND = 0x02D4 , LTE_DEACTIVE_CNF = 0x02D6 , LTE_DRX_CELL_INFO_IND = 0x02D8 , LTE_DETECT_NCELL_IND = 0x02DA , LTE_SFN_BOUNDARY_IND = 0x02DC , LTE_MIB_ERR_DURING_ICS_IND = 0x02DE , LTE_NORMAL = 0x02E0 , // 4 CP useless , but L1 may use it for debug , better not reuse it. LTE_ECPHY_HANDOVER_TO_FDD_UTRA_CNF = 0x02E2 , LTE_ECPHY_DRX_FIND_FDD_UTRA_CELL_CNF = 0x02E4 , LTE_ECPHY_FDD_UTRA_NCELL_BCH_GAP_IND = 0x02E6 , LTE_ECPHY_FDD_UTRA_MEASURE_IND = 0x02E8 , LTE_ECPHY_DS_RSP_MUX_IND = 0x02EA , // EcphyDsRspMuxInd // CQ00054035 DSDS LTE_MBMS_NOTIFICATION_IND = 0x02EC , /*CQ00087914 add*/ LTE_SCHEDULE_DEBUG_LOG = 0x02EE , LTE_ULPATH_IPC_DEBUG_LOG = 0x02F0 , LTE_MACSF_IPC_DEBUG_LOG = 0x02F2 , LTE_DSP_ALIVE_IND = 0x02F4 , LTE_SLEEP_IND = 0x02F6 , LTE_DSP_ENTER_SLEEP_IND = 0x02F6 , /*lte enter sleep*/ /*add for WL SLEEP*/ LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_ABORT_CNF = 0x02F8 , // EcphyGsmDrxFindLteCellAbortCnf LTE_ECPHY_LTE_NCELL_BCH_IND = 0x02FA , // EcphyLteNcellBchInd LTE_ECPHY_LTE_NCELL_BCH_STOP_CNF = 0x02FC , // EcphyLteNcellBchStopCnf LTE_ECPHY_HANDOVER_TO_TDD_UTRA_CNF = 0x02FE , // EcphyHandoverToTddUtraCnf // 2 0x02C0 ~0x02FF ( setID=11 ) , odd num , for LTE LTE_ECPHY_ENG_INFO_IND = 0x02C1 , // EcphyEngInfoInd , CQ00061103 LTE_DSP_EXCEPTION_IND = 0x02C3 , // CQ00142775 add /*CQ00144871 start add , for Lapwing*/ LTE_DRX_FIND_NR_CELL_CNF = 0x02C5 , // EcphyDrxFindNrCellCnf ; LTE_NR_NCELL_BCH_IND = 0x02C7 , // EcphyNrNcellBchInd & EcphyNrCgiBchInd , differ by bchType. LTE_NR_NCELL_BCH_STOP_CNF = 0x02C9 , // EcphyNrNcellBchStopCnf & EcphyNrCgiBchStopCnf , differ by bchType. LTE_NR_MEAS_IND = 0x02CB , // EcphyNrMeasInd ; LTE_ECPHY_DRX_FIND_NR_CELL_ABORT_CNF = 0x02CD , // EcphyDrxFindNrCellAbortCnf ; /*CQ00144871 end add , for lapwing*/ // 4 0x02CF ~ 0x02FF // 2 0x0300 ~0x033F ( setID=12 ) , even num , for LTE , no more left LTE_MCCH_RX_CNF = 0x0300 , /*CQ00087914 add*/ LTE_EPHY_PMCH_DATA_IND = 0x0302 , // EphyPmchDataInd // LTE MAC IPC Report start LTE_EPHY_PDCCH_ORDER_IND = 0x0304 , // EphyPdcchOrderInd LTE_EPHY_PREAMBLE_TRANS_MAX_IND = 0x0306 , // EphyPreambleTransMaxInd LTE_EPHY_RANDOM_ACCESS_RESPONSE_IND = 0x0308 , // EphyRandomAccessResponseInd LTE_EPHY_CRNTI_CR_SUCCESS_IND = 0x030A , // EphyCrntiContentionResolutionSuccessInd LTE_EPHY_MAC_RESET_CNF = 0x030C , // EphyMacResetCnf LTE_EPHY_DATA_IND = 0x030E , // EphyDataInd LTE_EPHY_DSR_TRANS_MAX_IND = 0x0310 , // EphyDsrTransMaxInd LTE_EPHY_UPLINK_GRANT_IND = 0x0312 , // EphyUplinkGrantInd LTE_EPHY_PHR_EVENT_IND = 0x0314 , // EphyPHREventInd LTE_EPHY_TIMER_EXPIRE_IND = 0x0316 , // EphyTimerExpireInd LTE_EPHY_STATISTIC_DATA_IND = 0x0318 , // EphyMacsfStatisticInd LTE_EPHY_RXL2B_EVENT_IND = 0x031A , // EphyRXL2BEventInd LTE_EPHY_DL_BLOCK_MOVE_IND = 0x031C , // LTE MAC IPC Report end LTE_EPHY_CLASSMARK_CNF = 0x031E , LTE_EMPH_LTE_NCELL_MEAS_IND = 0x0320 , // EmphLteNcellMeasInd LTE_ECPHY_GSM_BSIC_MEASURE_IND = 0x0322 , // EcphyGsmBsicMeasureInd LTE_ECPHY_OTDOA_MEASURE_IND = 0x0324 , // EcphyOtdoaMeaureInd LTE_ECPHY_GSM_NCELL_BCH_GAP_IND = 0x0326 , // EcphyGsmNcellBchGapInd LTE_MRAT_RSSI_SCAN_WB_ABORT_CNF = 0x0328 , LTE_ECPHY_GSM_RSSI_MEASURE_IND = 0x032A , // EcphyGsmRssiMeasureInd LTE_ECPHY_DRX_FIND_GSM_CELL_CNF = 0x032C , // EcphyDrxFindGsmCellCnf LTE_ECPHY_GSM_DRX_FIND_LTE_CELL_CNF = 0x032E , // EcphyGsmDrxFindLteCellCnf TSX_CTRL_IPC_REPORT = 0x0330 , // by shangfei LTE_ECPHY_TDD_UTRA_MEASURE_IND = 0x0332 , // EcphyTddUtraMeasureInd LTE_ECPHY_HOLD_ON_BAD_VOICE_IND = 0x0334 , // EcphyHoldOnBadVoiceInd // CQ00116594 add. LTE_ECPHY_DRX_FIND_TDD_UTRA_CELL_CNF = 0x0336 , // EcphyDrxFindTddUtraCellCnf LTE_ECPHY_TDD_UTRA_NCELL_BCH_GAP_IND = 0x0338 , // EcphyTddUtraNcellBchGapInd LTE_ECPHY_LTE_MEAS_FROM_NR_IND = 0x033A , // EcphyLteMeasFromNrInd LTE_ECPHY_COMMON_RSP = 0x033C , LTE_ECPHY_TDD_UTRA_NCELL_BCH_IND = 0x033E , // EcphyTddUtraNcellBchInd // 2 0x0300 ~0x033F ( setID=12 ) , odd num , for LTE LTE_EPHY_HARQ_ERROR_IND = 0x0305 , // for MAC LTE_RSSI_SCAN_CNF = 0x0323 , // plwPlmsRssiScanCnf_ts LTE_MRAT_RSSI_SCAN_CNF = 0x0325 , LTE_MRAT_RSSI_SCAN_SUSPEND_CNF = 0x0327 , LTE_MRAT_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_RSSI_SCAN_ABORT_CNF = 0x0329 , LTE_L1_PSM_DATA_IND_FOR_FALCON = 0x032F , // Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , // 4 0x0331 ~ 0x033F // 2 0x0340 ~0x037F ( setID=13 ) , odd num , reserved for future , former used for TD calibration // 2 0x0340 ~0x037F ( setID=13 ) , even num , for future use LTE_BCH_STOP_RX_CNF = 0x0340 , // EcphyBchStopCnf - Scell LTE_NCELL_BCH_STOP_RX_CNF = 0x0342 , // EcphyBchStopCnf - Ncell LTE_WIFI_SEARCH_GAP_IND = 0x0344 , // CQ00116099 add. LTE_ECPHY_LTE_STOP_MEAS_FROM_NR_CNF = 0x0346 , // CQ00137210 add , EcphyLteStopMeasFromNrCnf , for 4 g meas @ 5 g LTE_DSP_SLEEP_END_IND = 0x0350 , /*lte sleep end*/ LTE_ECPHY_CARD2_GAP_FINISH_IND = 0x0360 , // for MAC. EmptySignal // 2 0x0380 ~0x03BF ( setID=14 ) , for LTE calibration IPC_LTE_CALIBRATION_CONTROL = 0x0380 , IPC_LTE_CALIBRATION_AFC = 0x0381 , IPC_LTE_CALIBRATION_AGC = 0x0382 , IPC_LTE_CALIBRATION_APC = 0x0383 , IPC_LTE_CALIBRATION_DATA = 0x0384 , IPC_LTE_CALIBRATION_ACK = 0x0385 , IPC_LTE_CALIBRATION_SUPER_CMD = 0x0386 , /*CQ00066284 start add*/ IPC_LTE_RF_TUNING_SUPER_CMD = 0x0387 , // uselss , DCXO use it. IPC_LTE_RF_TUNING_SUPER_CMD_ACK = 0x0388 , // uselss , DCXO use it. /*CQ00066284 end add */ IPC_LTE_CALIBRATION_DATA_SHARE_MEM = 0x0389 , // CQ00138966 add IPC_VOLTAGE_CALIBRATION_ACK = 0x0391 , // from NEZHAC_PLATFORM_APLP_GPLC , useless??? // 4 for new L1A->L1 Req , better define in plpCommands instead of plpReports // 2 0x03C0 ~0x03FF ( setID=15 ) , for future use LTE_RX_PDCCH_INFORMATION_IND = 0x03F7 , /*CQ00095671 add for L1V*/ LTE_L1_PSM_DATA_IND = 0x03F9 , // CQ00124925 add , Crane define LTE_L1_PSM_DATA_IND = 0x03F9 , Falcon define LTE_L1_PSM_DATA_IND = 0x032F , IPC_DUMMY } plpReports; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanInd = MSG_PLP_WB_FREQ_SCAN_REPORT_OPCODE , A_WbSetAcqInd = MSG_PLP_ACQ_REPORT_OPCODE , A_WbAcqAbortAck = MSG_PLP_ACQ_ABORT_ACK_OPCODE , A_WbSearchAbortAck = MSG_PLP_SEARCH_ABORT_ACK_OPCODE , A_WbMeasCpichSearchInd = MSG_PLP_CPICH_SEARCH_REPORT_OPCODE , A_WbMeasCellSearchInd = MSG_PLP_CELL_SEARCH_REPORT_OPCODE , A_WbSetActiveCellActionAck = PLP_SET_ACTIVE_CELL_ACTION_ACK , A_WbRefCellChangeReport = PLP_MSG_MPS_REF_CELL_CHANGE , A_WbPhySetUpCompleteAck = PLP_PHY_SETUP_COMPLETE_ACK_OPCODE , A_WbPhySetUpAck = PLP_PHY_SETUP_ACK_OPCODE , A_WbPhyReleaseAck = PLP_PHY_RELEASE_ACK_OPCODE , A_WbFachOccasionAck = FACH_OCCASION_ACK , A_WbCbsL2Ack = PLP_CBS_LEVEL_2_SCHEDULING_ACK , A_WbCbsL2DoneInd = CBS_LEVEL2_PERIOD_DONE_OPCODE , A_WbCmPatternReport = PLP_COMPRESSED_PATTERNS_REPORT , A_WbCmReConstrutAck = PLP_COMPRESSED_MODE_RECONST_COMPLETE_OPCODE , A_WbPiReport = PLP_PI_REPORT , A_WbBBSleepReport = PLP_BB_SLEEP_START_REPORT_OPCODE , A_WbCbsMissReport = PLP_CBS_MISS_REPORT , A_WbPichCbsSkipAck = PLP_CBS_MISS_REPORT , A_WbPuncturePIAck = PUNCTURE_PI_ACK , A_WbBchDataInd = PLP_BCH_DATA_RX_OPCODE , A_WbPchDataInd = PLP_PCH_DATA_RX_OPCODE , A_WbFachDataInd = PLP_FACH_DATA_RX_OPCODE , A_WbDchDataInd = PLP_DCH_DATA_RX_OPCODE , A_WbSleepEndInd = PLP_SLEEP_END_OPCODE , A_WbSfnReadReply = PLP_SFN_READ_REPLY_OPCODE , A_WbPrachReport = PLP_PRACH_REPORT_OPCODE , A_WbHsdpaDataInd = PLP_HSDPA_RX_DATA , A_WbRxStatusInfo = PLP_RX_STATUS_OPCODE , A_MsgNextPITimingReort = PLP_NEXT_PI_TIMING_REPORT , A_MsgRecvCbsPiComplete = PLP_RECV_CBS_PI_COMPLETE , A_WbRlRxTxTimeDiffResult = PLP_UE_RX_TX_TIME_DIFF_ACK , A_TxSlotPower_ts = PLP_TX_POWER_REPORT_OPCODE , A_WbTxStatusInfo = PLP_TX_STATUS_OPCODE , A_plwCphyDrxFindLteCellCnf_ts = PLP_LTE_MEAS_IN_WB_REPORT , A_WbUpdateRefcellSearchWinInd = PLP_UPDATE_REFCELL_SEARCH_WIN , // A_WbRecordBufferEndInd A_WbCbsPeroidDoneInd = PLP_CBS_WAKE_PERIOD_DONE_OPCODE , A_WbPIApproachingInd = PLP_CBS_PI_APPROACHING , // A_WbPunctureCbsAck A_WbResumeCbsAck = PLP_MSG_RESUME_CBS_ACK_OPCODE , // A_WbSleepAck A_WbEarlyWakeupAck = PLP_MSG_EARLY_WAKEUP_ACK_OPCODE , // A_WbSetEpIocEstiAck // A_WbAntDivCtrlAck // A_WbSuspendEcfDrxAck // A_WbCommEdchReleaseInd // A_WbScchOrderReportInfo A_MsgPiGapReq = PLP_PI_GAPREQ , B_MsgPiGapReq = PLP_CBS_GAPREQ , A_MsgPiGapStart = PLP_PI_GAPSTART , B_MsgPiGapStart = PLP_CBS_GAPSTART , A_MsgPiGapCancel = PLP_PI_GAPCANCEL , B_MsgPiGapCancel = PLP_CBS_GAPCANCEL , A_MsgPiGapEnd = PLP_PI_GAPEND , B_MsgPiGapEnd = PLP_CBS_GAPEND , A_WbCbsL2ToL1Ind = CBS_SWITCHED_TO_L1S_OPCODE , // A_MsgMTUReqReport // A_MsgPsGapStartReport // A_MsgPsGapEndReport // A_MsgPsGapTrigger // A_MsgPsGapRemoveAck // A_MsgDusimPhyConfgDebug // A_MsgPsGapDebug // A_MsgCommonEdchRscReleaseReport // A_WbMpsCellActionProcDebug } plpMessages_Strings; //ICAT EXPORTED ENUM typedef enum { A_WbFreqScanReq = PLP_WB_FREQ_SCAN_OPCODE , A_WbSetAcqReq =PLP_SET_ACQ_OPCODE , A_WbMeasParaSetReq =PLP_SET_MEASUREMENT_PARAM_OPCODE , A_WbMeasCellSearchReq =PLP_SET_CELL_SEARCH_OPCODE , A_WbMeasCpichSearchReq = PLP_SET_CPICH_SEARCH_OPCODE , A_WbSearchAbortReq = PLP_SET_SEARCH_ABORT_OPCODE , A_WbSetFachOccasionReq = PLP_SET_FACH_OCCASION_OPCODE , A_WbSetCompressedModeReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetAcqNext = PLP_SET_ACQ_NEXT_OPCODE , A_WbAcqAbortReq = PLP_SET_ACQ_ABORT_OPCODE , A_WbAcqResumeReq = PLP_SET_ACQ_RESUME_OPCODE , A_WbSetCompressedModeReConstrutReq = PLP_SET_COMPRESSED_MODE_RECONSTRUCTION_OPCODE , A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbFrameIntCtrlCmd = PLP_FRAME_INT_CNTRL_OPCODE , A_WbSfnReadCmd = PLP_SFN_READ_OPCODE , A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_plCalibSetRfControls_ts = PLP_SET_RF_CONTROLS_OPCODE , A_WbSetSfnOffsetCmd = PLP_SET_SFN_OFFSET_OPCODE , A_WbSetPccpchCmd = PLP_SET_P_CCPCH_OPCODE , A_WbSetSccpchCmd = PLP_SET_S_CCPCH_OPCODE , A_WbSetPichCmd = PLP_SET_PICH_OPCODE , A_WbSetDpchCmd = PLP_SET_DPCH_OPCODE , A_WbSetDpchPowCtrlCmd = PLP_SET_DPCH_POWER_CNTRL_OPCODE , A_WbSetUlGainCmd = PLP_SET_UL_GAINS_OPCODE , A_WbSetPrachAichCmd = PLP_SET_PRACH_OPCODE , A_WbLoadActiveCellCmd = PLP_LOAD_ACTIVE_CELL_PARAMS , A_WbResetTrackerAndSearcherCmd = PLP_RESET_TRACKER_AND_SEARCHER_OPCODE , // A_WbSetActiveCellActionCmd = PLP_SET_ACTIVE_CELL_ACTION_OPCODE , A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , A_WbSetSccpchForCbsCmd = PLP_SET_CBS_SCCPCH_OPCODE , A_WbSetCbsL2ScheduleCmd = PLP_SET_CBS_LEVEL_2_SCHEDULING , A_WbSetDlTfcsCmdData = PLP_SET_DL_TFCS_OPCODE , A_WbSetUlTfcsCmdData = PLP_SET_UL_TFCS_OPCODE , A_WbSetTrchCmdData = PLP_SET_DCH_DL_TRCH_OPCODE , B_WbSetTrchCmdData = PLP_SET_DCH_UL_TRCH_OPCODE , C_WbSetTrchCmdData = PLP_SET_FACH_TRCH_OPCODE , D_WbSetTrchCmdData = PLP_SET_PCH_TRCH_OPCODE , A_WbDlNormalShareMemReqCmd = PLP_DL_NORMAL_SHAREMEM_ADDR_REQ , A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_WbSetLoopBack2Cmd = PLP_SET_LOOP_BACK_MODE_2_OPCODE , A_WbSetHsupaCmd = PLP_SET_HSUPA_OPCODE , A_WbSetHsdpaCmd = PLP_SET_HSDPA_OPCODE , A_WbSetCpcCmd = PLP_SET_CPC_OPCODE , // A_WbReleasePhyCmd = PLP_RELEASE_PHY_OPCODE , // A_WbDchDataTxCmd = PLP_DCH_DATA_TX_OPCODE , // A_WbRachDataTxCmd = PLP_RACH_DATA_TX_OPCODE , A_WbTxEnableCmd = PLP_TX_ENABLE_OPCODE , A_WbTxDisableCmd = PLP_TX_DISABLE_OPCODE , A_WbPuncturePICmd = PLP_PUNCTURE_PI_OPCODE , A_WbAbortCbsPICmd = PLP_ABORT_CBS_PI , // A_WbSkipCbsPICmd = PLP_PICH_CBS_SKIP_REQ_OPCODE , A_WbAllowBasebandSleepCmd = PLP_ALLOW_BASEBAND_SLEEP_OPCODE , A_WbDisableBasebandSleepCmd = PLP_DISABLE_BASEBAND_SLEEP_OPCODE , // A_WbSetSymDetCmd // A_WbSetWcdma = PLP_SET_WCDMA_OPCODE , A_WbTerminateRatCmd = PLP_TERMINATE_RAT , // A_WbSetEpIocEstiCmd = // A_WbAntDivCtrlCmd = // A_WbSetNfddNgsmForFachOccasionCmd = PLP_SET_N_FDD_N_GSM_FOR_FACH_OCCASIONS_OPCODE , A_MtuReadCmd = PLP_LATCH_MTU_OPCODE , A_DualSimResourceCtrlCmd = PLP_DUALSIM_RESOURCE_CONTROL_OPCODE , A_GsmPchGapReqCmd = PLP_PS_GAP_REQ_OPCODE , A_GsmPchGapRemoveCmd = PLP_PS_GAP_REMOVE_OPCODE , A_GsmPchGapStopInAdvanceCmd = PLP_PS_GAP_STOP_IN_ADVANCE , A_WbMeasUeRxTxTimeDiffReq = PLP_GET_UE_RX_TX_TIME_DIFF_OPCODE , A_WbSetRxDivParamCmd = PLP_RX_DIVERSITY_PARAM , A_WbLteInWbMeasControlCmd =PLP_TRIGGER_LTE_MEAS_IN_WB , A_WbWbInLteMeasReportCmd =PLP_WB_MEAS_IN_LTE_RESULT , // A_WbSetTcHsScchCmd = A_WbEarlyWakeupCmd = PLP_EARLY_WAKEUP_OPCODE , A_WbFastSlowClocksRatioEstCmd = FAST_SLOW_CLOCKS_RATIO_ESTIMATION , // A_WbSuspendEcfDrxCmd = // A_WbMacEhsResetHarqCmd // A_WbSleepParamsCmd // A_MsgWBResoureCtl // Added for wifi location feature // A_WFScanReq_ts = PLP_WIFI_START_SCAN_OPCODE ; // Added end } plpCommands_Strings; //ICAT EXPORTED ENUM typedef enum { SRC_NULL = 0x00 , /* External Event Sources */ SRC_RRC = 0x10 , SRC_MAC = 0x20 , SRC_DSP = 0x30 , SRC_DSP_DATA = 0x31 , SRC_RTC = 0x32 , SRC_DVFM = 0x33 , /* Internal Event Sources */ SRC_MS = 0x40 , SRC_TCC = 0x50 , SRC_MSR_LOW = 0x60 , SRC_DATA = 0x70 , SRC_APLP = 0x80 , SRC_TMR = 0x90 , SRC_RFD = 0xA0 , SRC_ATL = 0xB0 , SRC_MCL = 0xC0 , SRC_GSM = 0xD0 , SRC_LTE = 0xDD , SRC_TM_HIGH = 0xE0 , SRC_MSR_HIGH = 0xF0 , // Added for Schd module SRC_SCHD = 0xF1 , SRC_WIFI = 0xF2 , /* Reserver for Future Use */ SRC_PLP_VERFLOW = 0xFA , SRC_PLP_EXCEP = 0xFB , SRC_COM_WARNING = 0xFC , SRC_COM_ERR = 0xFD , SRC_L1_ERR = 0xFE , SRC_IPC = 0xFF , MAX_EVENT_SRC = 0xFF /* This is the maximum allowed value */ } source_list; //ICAT EXPORTED ENUM enum destinationIds_te { DST_NULL = 0x00 , /* External Event Destinations */ DST_RRC = 0x01 , DST_MAC = 0x02 , DST_DSP = 0x03 , /* Internal Event Destinations */ DST_MS = 0x04 , DST_TCC = 0x05 , DST_MSR_LOW = 0x06 , DST_DATA = 0x07 , DST_APLP = 0x08 , DST_TMR = 0x09 , DST_RFD = 0x0A , DST_SPY = 0x0B , DST_TM_HIGH = 0x0C , DST_MSR_HIGH = 0x0D , /* Reserver For Future Use */ DST_GSM = 0x0E , DST_LTE = 0x0F , DST_SCHD = 0x10 , DST_SCHD_HIGH = 0x11 , DST_WIFI = 0x12 , MAX_EVENT_DST = 0x1F /* This is the maximum allowed value origin is 0x10 , add SCHD and LTE*/ }; //ICAT EXPORTED ENUM typedef enum { EVENT_CODE_NULL = 0x0000 , /*----- DSP Data channel to APLP Messages -----*/ CONFIRM_DATA_WRITE = 0x0900 , /*----- RRC to APLP Messages -----*/ /* to APLP */ RESET_REQUEST = 0xAA00 , INIT_REQUEST = 0xAA01 , SET_WCDMA_REQ = 0xAA02 , SET_GSM_REQ = 0xAA03 , TERMINATE_WCDMA_REQ = 0xAA04 , TERMINATE_GSM_REQ = 0xAA05 , START_WCDMA_BCH = 0xAA06 , RESUME_GSM_AFTER_BCH = 0xAA07 , RTC_UPDATE = 0xAA08 , WB_L1_CAPABILITY_REPORT_REQUEST = 0xAA09 , GSM_L1_CAPABILITY_REPORT_REQUEST = 0xAA0A , // EMPTY_EVENT_SLOT = 0xAA0B , MS_TERMINATE_APLP = 0xAA0C , WB_EDCH_SHARED_MEM_ADDR_REQUEST = 0xAA0D , GSM_RF_INIT_REQ = 0xAA0E , PLP_SM_TRANSITION_ENDED = 0xAA0F , APLP_SPY_BUFFER_START = 0xAA10 , /* to MS */ CPHY_DPCH_UL_CONTROL = 0xA000 , CPHY_CBS_LEVEL_2_REQ = 0xA001 , CPHY_RL_SETUP_REQ = 0xA002 , CPHY_RL_RELEASE_REQ = 0xA004 , CPHY_B4_PCCPCH_SETUP_REQ = 0xA005 , CPHY_MODIFY_REQ = 0xA006 , SKIP_FRAMES_REQ = 0xA007 , CPHY_STTD_MODIFY_REQ = 0xA008 , CPHY_B4_RELEASE_REQ = 0xA009 , CPHY_CPCH_ESTOP_RESP = 0xA00A , /* is not currently supported */ CPHY_CPCH_ESTOP_REQ = 0xA00C , /* is not currently supported */ DEACTIVATE_REQ = 0xA00E , TERMINATE_SLEEP_MODE = 0xA00F , START_BCH = 0xA010 , ABORT_WCDMA_BCH = 0xA011 , WCDMA_HOLD_REQ = 0xA012 , RESTORE_WCDMA_REQ = 0xA013 , SET_FACH_OCCASIONS = 0xA014 , CPHY_CPC_CONFIG_REQ = 0xA015 , CPHY_T319_CONFIG_REQ = 0xA016 , CPHY_B4_PCCPCH_RELEASE_REQ = 0xA017 , CPHY_HSDPA_SETUP_REQ = 0xA023 , /* add for solve async by HAW and L1*/ CPHY_EDCH_SETUP_REQ = 0xA024 , /* add for solve async by HAW and L1*/ /* to TCC */ HANDLE_SFN_READ = 0xA025 , CPHY_TRCH_CONFIG_REQ = 0xA026 , CPHY_TRCH_RELEASE_REQ = 0xA027 , /*----- MAC to APLP Messages -----*/ /* to TCC */ PHY_ACCESS_REQ = 0xA028 , HS_POINTER_ASSIGN_REQ = 0xA029 , PHY_CPCH_STATUS_REQ = 0xA02A , /* does not currently supported */ CONFIG_REQ_FACH = 0xA031 , CONFIG_REQ_FACH_DONE = 0xA032 , CONFIG_REQ_RACH = 0xA033 , CONFIG_REQ_DCH_DONE = 0xA034 , CONFIG_REQ_RACH_DONE = 0xA035 , // CPHY_SUSPEND_REQ = 0xA036 , // CPHY_SUSPEND_BY_PCH_REQ = 0xA037 , /* to DATA */ PHY_NOTIFY_NEXT_TTI_TFC = 0xA03B , PHY_DATA_REQ = 0xA03C , /* to Measurement */ CPHY_FREQ_SCAN_REQ = 0xA101 , CPHY_DETECTED_CELLS_MEAS_REQ = 0xA102 , PLW_INTRA_FR_CELL_MEAS_REQ = 0xA103 , CPHY_TRCH_BLER_MEASURMENT_REQ = 0xA104 , CPHY_RX_TX_TIME_DIFF_MEAS_REQ = 0xA105 , PLP_RSSI_REPORT = 0xA106 , PLW_INTER_FR_CELL_MEAS_REQ = 0xA107 , CPHY_TX_POWER_MEASURMENT_REQ = 0xA108 , PLW_INTER_RAT_MEAS_REQ = 0xA109 , CPHY_MEAS_ON_RACH_REQ = 0xA10A , SET_COMPRESSED_MODE_REQ = 0xA10B , CPHY_INTRA_FREQ_RSSI_REQ = 0xA10C , CPHY_CELL_LOCK_REQ = 0xA10D , // WB Measurements during GSM PLW_WB_MEAS_IN_GSM_REQ = 0xA10E , PLW_WB_RSSI_MEAS_IN_GSM_REQ = 0xA10F , ALT_TIMER_EXP_EVENT = 0xA110 , // EMPTY_EVENT_SLOT = 0xA111 , PLW_GSM_BCCH_DECODE_REQ = 0xA112 , PLW_WB_MEAS_IN_GSM_ABORT_CURRENT_SEARCH = 0xA113 , PLW_WB_MEAS_IN_GSM_RESUME_CURRENT_SEARCH = 0xA114 , // GSM Measurements during WB PLW_GSM_RSSI_MEASUREMENT_REQ = 0xA115 , PLW_GSM_BSIC_DECODE_REQ = 0xA116 , PLW_GSM_RSSI_SCAN_REQ = 0xA117 , WB_DETECTED_MEAS_IN_GSM_REQ = 0xA118 , PLW_WB_RF_STOP_ACK_FROM_GPLC = 0xA11A , PLW_WB_RSSI_SCAN_MEAS_IN_GSM_REQ = 0xA11B , PLW_GSM_MULTI_BCCH_DECODE_REQ = 0xA11C , CPHY_MRAT_RSSI_SCAN_REQ = 0xA11D , CPHY_MRAT_RSSI_SCAN_ABORT = 0xA11E , CPHY_MRAT_RSSI_SCAN_REQ_SCHD = 0xA12D , CPHY_MRAT_RSSI_SCAN_ABORT_SCHD = 0xA12E , // WB Measurements during LTE PLW_WB_MEAS_IN_LTE_REQ = 0xA150 , PLW_RSSI_SCAN_REQ = 0xA313 , PLW_RSSI_SCAN_ABORT = 0xA314 , PLW_RSSI_SCAN_SUSPEND = 0xA315 , PLW_RSSI_SCAN_RESUME = 0xA316 , // LTE Measurements during WB PLW_DRX_FIND_LTE_CELL_REQ = 0xA151 , PLW_MONITOR_LTE_CELL_REQ = 0xA152 , PLW_IRAT_GAP_REQ = 0xA153 , SET_LTE_REQ = 0xA154 , IRAT_LTE_BCH_GAP_CNF = 0xA155 , PLW_IRAT_GSM_BCCH_GAP_REQ = 0xA156 , // GSM Measurements during WB PLW_LTE_RSSI_MEASUREMENT_REQ = 0xA160 , PLW_LTE_BSIC_DECODE_REQ = 0xA161 , CPHY_DETECTED_CELLS_MEAS_REQ_INTERNAL = 0xA162 , CPHY_RX_TX_TIME_DIFF_TYPE2_MEAS_REQ = 0xA163 , /*----- DVFM to APLP Messages -----*/ DVFM_ACK = 0xA200 , DVFM_CH_ACK = 0xA201 , DDR_ACK = 0xA202 , DDR_TIMER_EXP = 0xA203 , /*----- Intrapackage Messages ------*/ /* MS to TM */ // MS_TM_FREEZE_MAINTENANCE = 0xB004 , // MS_TM_SLEEP_START = 0xB005 , MS_TM_RELEASE_LAST_RL = 0xB008 , /* MS Internal */ MS_PHY_RELEASE_COMPLETE = 0xB010 , MS_PHY_RELEASE_ACK_OPCODE = 0xB011 , MS_PHY_SETUP_ACK_OPCODE = 0xB012 , SKIP_TIMER_EXPIRED = 0xB013 , MS_TRACKERS_RELEASE = 0xB014 , ATL_ONE_FRAME_AFTER_RECONFIGURATION = 0xB016 , MS_SETUP_HSUPA_AFTER_DPCH = 0xB017 , SELF_RELEASE_PHY_RELEASE_SYNC = 0xB018 , SELF_RELEASE_TRACKERS_RELEASE_SYNC = 0xB019 , MS_HSUPA_CONFIG_PLP = 0xB020 , MS_RESUME_AFTER_RL_SET_HSPDSCH = 0xB021 , ATL_TIME_FOR_TX_ENABLE_NOT_POST = 0xB022 , MS_CALL_TM_WITH_CONC_ASU_REQ = 0xB023 , MS_SETUP_EDCH_CNF_IN_CONC_ASU = 0xB024 , MS_SSM_CBS_NO_SLEEP_OR_RF_ON_REQ = 0xB026 , MS_SSM_CBS_NO_SLEEP_OR_RF_ON_CNF = 0xB027 , MS_SSM_CBS_CLEAR_REQ = 0xB028 , MS_SSM_CBS_NO_SLEEP_REQ = 0xB029 , T319_TIMER_EXPIRED = 0xB030 , START_T319_RECONFIG = 0xB031 , DRX_RECONFIG_DONE = 0xB032 , /* TM to MSR */ TM_MSR_TURN_OFF_TRACKERS_CNF = 0xB101 , TM_MSR_TURN_ON_TRACKERS_CNF = 0xB102 , TM_MSR_INIT_FILTERS = 0xB103 , TM_MSR_UPDATE_PATH_INFO = 0xB104 , /* MS to NEW TM */ MS_TM_SET_COMMON_CHANNEL = 0xB200 , MS_TM_RELEASE_COMMON_CHANNEL = 0xB201 , MS_TM_SETUP_DEDICATED_CHANNEL = 0xB202 , MS_TM_RELEASE_DEDICATED_CHANNEL = 0xB203 , MS_TM_MODIFY_STTD = 0xB204 , MS_TM_ASU_REQ = 0xB205 , MS_TM_DPCH_SETUP_SENT = 0xB206 , MS_TM_OOS_RELEASE_ALL = 0xB207 , /* MSR to TM */ MSR_TM_SEARCH_UPDATE = 0xC001 , MSR_TM_TURN_OFF_TRACKERS = 0xC002 , MSR_TM_ENABLE_RX_TX = 0xC007 , MSR_TM_DISABLE_RX_TX = 0xC008 , MSR_TM_SLEEP_END = 0xC009 , MSR_TM_RESTORE_SERVING_TRACKERS = 0xC00A , MSR_TM_INIT_TM_DB = 0xC00B , MSR_TM_SLEEP_END_FOR_MSR = 0xC00C , /* TM internal*/ TM_TRIGGER_SPECIAL_MAINTENANCE = 0xC010 , TM_SECOND_ITERATION_NO_ACTION = 0xC011 , /* TM to MS */ TM_MS_SET_PCCPCH = 0xD001 , TM_MS_RELEASE_PCCPCH = 0xD002 , TM_MS_SET_HSPDSCH = 0xD003 , TM_MS_RELEASE_HSPDSCH = 0xD004 , TM_MS_SET_N_RELEASE_SCCPCH = 0xD005 , TM_MS_SET_N_RELEASE_PICH = 0xD006 , TM_MS_MULTI_RL_SET = 0xD007 , TM_MS_MULTI_RL_RELEASE = 0xD008 , TM_MS_MULTI_RL_SET_N_RELEASE = 0xD009 , TM_MS_OOS_START_CNF = 0xD00A , TM_MS_SLEEP_END_CNF = 0xD00B , TM_MS_SLEEP_START_CNF = 0xD00C , TM_MS_RELEASE_LAST_RL_CNF = 0xD00D , TM_MS_STTD_MODIFY_CNF = 0xD00E , TM_MS_SET_HSUPA = 0xD00F , TM_MS_RELEASE_HSUPA = 0xD010 , TM_MS_SET_N_RELEASE_HSUPA = 0xD011 , TM_MS_SET_REF_CELL = 0xD012 , TM_MS_SET_HSPDSCH_FAILURE = 0xD013 , TM_MS_RELEASE_AICH = 0xD014 , TM_MS_SET_N_RELEASE_PICH_HSDPA = 0xD015 , TM_MS_SET_N_RELEASE_CBS = 0xD016 , /* RFD to MSR */ RFD_RX_TO_IDLE_MSR_ACK = 0xD020 , RFD_FREQ_CHANGE_MSR_ACK = 0xD021 , RFD_GSM_LOW_POWER_TO_IDLE_ACK = 0xD022 , RFD_IDLE_TO_RX_MSR_ACK = 0xD023 , RFD_MRAT_RSSI_SCAN_RX_TO_IDLE_ACK = 0xD025 , RFD_MRAT_FIND_LTE_CELL_RX_TO_IDLE_ACK = 0xD026 , /* RFD to RFD */ AGC_TEMPERATURE_READY = 0xD030 , APC_TEMPERATURE_READY = 0xD031 , PLP_AASIC_VER_REG_REPLY = 0xD032 , AFC_CTRL_SET_TO_DEREEZE = 0xD033 , APC_BATTERY_MSR_READY = 0xD034 , APC_TEMPERATURE_AND_BATTERY_MSR_READY = 0xD035 , DYNAMIC_DP_REQ = 0xD036 , COMPLETE_STEP_MEASUREMENTS = 0xD037 , PLP_CONFIG_TO_TX_IDLE = 0xD038 , SET_RF_WITH_RX_TX_FREQ = 0xD039 , RFD_ACQUISITION_REPORT_READY = 0xD03A , RFD_HANDLE_SYS_DET = 0xD03B , RFD_SEND_PARAMS_AFTER_SEQ_ACK = 0xD03C , RFD_MAX_POWER_SEQ_ACK = 0xD03D , RFD_RETURN_2_OOS_ACK = 0xD03E , /* RFD to APLP */ RFD_APLP_ACK = 0xD03F , /* RFD to MS */ PLL_LOCK = 0xD040 , RFD_MS_ACK = 0xD041 , RFD_MS_RX_TO_IDLE_ACK_IN_OOS = 0xD042 , RFD_MS_RX_TO_RX_TX_PRACH = 0xD043 , RFD_MS_TX_RX_TO_RX_PRACH = 0xD044 , /* MS timer */ MS_TIMER = 0xD050 , /* Timer events */ BACK_OFF_PERIOD = 0xD100 , T_IDENTIFY_INTER = 0xD101 , T_MEASURE_INTER = 0xD102 , BASIC_MEAS_PERIOD = 0xD103 , // #if ( L1_FEATURE_NEW_MEASUREMENT_REPORTING ) INTER_BASIC_MEAS_PERIOD = 0xD105 , // #endif // #if ( L1_FEATURE_NEW_INTER_MEASUREMENT ) T_INTER_FREQ_SWITCH = 0xD106 , // #endif /* TCC to MSR */ TARGET_SFN_UPDATE = 0xD104 , /* MSR to MS */ MSR_TIME_DIFF_MEAS_REQ = 0xD200 , MSR_SLEEP_START_CNF = 0xD201 , MSR_SLEEP_BSS_REQ = 0xD202 , MSR_SLEEP_BSS_DONE = 0xD203 , MSR_SLEEP_ONE_SHOT_DONE = 0xD204 , MSR_OOS_SLEEP_EXIT_REQ = 0xD205 , MSR_OOS_ABORT_SEARCH_CNF = 0xD206 , START_SKIP_REQ = 0xD207 , STOP_SKIP_REQ = 0xD208 , MSR_TERMINATE_SLEEP = 0xD209 , MSR_RESUME_SLEEP = 0xD20a , MSR_OOS_TERMINATE = 0xD20b , MSR_START_XFN_MEAS = 0xD20d , WAKE_FOR_XFN = 0xD20e , MSR_START_XFN_MEAS_AT_SKIP = 0xD20f , MSR_READY_FOR_WU = 0xD210 , MSR_TERMINATE_SLEEP_DUE_SERVING_FADING = 0xD211 , MS_B4_CHANNEL_INIT_ACK = 0xD212 , MS_AFTER_CHANNEL_INIT_ACK = 0xD213 , MS_B4_CHANNEL_RELEASE_ACK = 0xD214 , MS_AFTER_CHANNEL_RELEASE_ACK = 0xD215 , MS_SET_STATE_ACK = 0xD216 , MSR_STANDBY_REQ = 0xD217 , MSR_MS_SLEEP_END = 0xD218 , MSR_RESUME_SLEEP_AFTER_PI = 0xD219 , /* ATL to MS */ RELEASE_PCCPCH_AT_BCCH = 0xD250 , FACH_OCCASSIONS_DELAY_OVER = 0xD251 , /* MS to MSR */ MSR_SLEEP_START = 0xD300 , MSR_SLEEP_STOP = 0xD310 , MSR_ONE_SHOT_SEARCH_PI = 0xD320 , MSR_LATE_WAKEUP = 0xD321 , MSR_WAKE_UP_DONE = 0xD322 , MSR_XFN_DONE = 0xD323 , MSR_START_BSS = 0xD330 , MSR_SLEEP_ACK = 0xD340 , MSR_DPCH_RELEASE_ACK_HHO = 0xD350 , MSR_DPCH_SET_ACK_HHO = 0xD360 , ACK_CS_NORM_MODE_INIT = 0xD370 , MSR_WB_TO_GSM_RES = 0xD380 , GSM_CALL_BCCH = 0xD390 , MSR_DELETE_SFN_CFN = 0xD3A0 , MSR_OOS_ABORT_SEARCH = 0xD3B0 , MSR_OOS_SLEEP_EXIT_IND = 0xD3C0 , MSR_CLEAR_DRX = 0xD3D0 , PICH_CBS_IN_SKIP_ACK = 0xD3E0 , PICH_CBS_NOT_IN_SKIP_ACK = 0xD3F0 , MSR_INTER_BCH_SETUP_REQ = 0xD400 , MSR_INTER_BCH_SETUP_CNF = 0xD410 , MSR_INTER_BCH_RELEASE_REQ = 0xD420 , MSR_INTER_BCH_RELEASE_CNF = 0xD430 , START_INTER_AFTER_BSS = 0xD440 , MSR_INTER_BSS = 0xD450 , MSR_RL_SETUP_REQ = 0xD460 , MSR_TRANSITION_STARTED = 0xD470 , MSR_TRANSITION_ENDED = 0xD480 , MSR_TRANSITION_FAILURE = 0xD490 , PREPARE_MSR_FOR_WAKE = 0xD491 , BSS_DONE_IGNORED = 0xD492 , MSR_B4_CHANNEL_INIT = 0xD4A0 , MSR_AFTER_CHANNEL_INIT = 0xD4A1 , MSR_B4_CHANNEL_RELEASE = 0xD4A2 , MSR_AFTER_CHANNEL_RELEASE = 0xD4A3 , MSR_SET_STATE = 0xD4A4 , MSR_ONE_SHOT_SEARCH_CBS = 0xD4A5 , MSR_ONE_SHOT_SEARCH_PI_CBS = 0xD4A6 , MSR_CBS_FINISHED = 0xD4A7 , MSR_ABNORMAL_XFN_TERMINATION = 0xD4A8 , MSR_INVOKE_BCCH_ON_CBS_DONE = 0xD4A9 , MSR_RESTORE_BCCH = 0xD4AA , MSR_CBS_STARTED = 0xD4AB , MSR_B4_DRX_RECONFIG = 0xD4B0 , MSR_AFTER_DRX_RECONFIG = 0xD4B1 , MSR_B4_DRX_RECONFIG_ACK = 0xD4B2 , MSR_AFTER_DRX_RECONFIG_ACK = 0xD4B3 , MSR_EDRX_CONFIRM_AFTER_BCCH = 0xD4B4 , /*MS to MS*/ PCCPCH_RELEASE_FINISHED = 0xD500 , CONC_TRANSITION_START = 0xD501 , CONC_CELL_DB_UPDATED = 0xD502 , CONC_RELEASE_FOR_HHO = 0xD503 , CONC_SETUP_FOR_HHO = 0xD504 , CONC_RELEASE_FOR_HHO_FAIL = 0xD505 , CONC_SETUP_FOR_HHO_FAIL = 0xD506 , CONC_ATL4ASU_EXPIRED = 0xD507 , ECF_PRE_RECONFIG_DONE = 0xD600 , CPC_TRANSITION = 0xD610 , /* TCC to MS */ MS_DO_ACTION_REQ = 0xE001 , TCC_ACTION_RESULT_IND = 0xE002 , CONC_TCC_DCH_ESTABLISHED = 0xE003 , TRCH_FOR_CBS_DONE = 0xE004 , DMA_END_INTERRUPT = 0xE103 , SEND_TX_ENABLE = 0xE104 , TCC_TRCH_REQ_ARRIVED = 0xE105 , /* TCC to TCC */ // plTCCDoAction events SET_BCH_SERVING_CELL = 0xE200 , // Used for reception of serving cell SET_BCH_NEW_CELL = 0xE201 , // Used for Initial acquisition SET_BCH_MONITORED_CELL = 0xE202 , // Used for Monitored cell SET_BCH_FOR_MSR = 0xE203 , SET_BCH_FOR_HHO = 0xE204 , RELEASE_FACH = 0xE205 , RELEASE_DCH = 0xE206 , SFN_UPDATE = 0xE207 , PHY_HS_POINTER_ASSIGN_REQ = 0xE20B , /* MS to TCC */ TCC_SET_DCH = 0xE20C , // plTCCActionResult events SET_PRACH_DONE = 0xE220 , PHY_TERMINATE_PRACH = 0xE221 , HANDLE_FRAME_INTERRUPT = 0xE230 , HANDLE_FRAME_INT0_ALINGED_TO_CFN = 0xE231 , POST_VERIFICATION_FAILED = 0xE232 , DL_ESTABLISHED_ARRIVED = 0xE233 , IMITATE_CONFIRM_DATA_WRITE_DL_TFCS = 0xE234 , IMITATE_CONFIRM_DATA_WRITE_UL_TFCS = 0xE235 , /* to RRC */ RRC_CPHY_RL_SETUP_CNF = 0xE500 , RRC_CPHY_RL_RELEASE_CNF = 0xE501 , RRC_CPHY_RL_MODIFY_CNF = 0xE502 , RRC_CPHY_STTD_MODIFY_CNF = 0xE504 , RRC_TR_CH_CONFIG_CNF = 0xE505 , RRC_CPHY_LEVEL2_SCHDULING_CNF = 0xE506 , RRC_CPHY_LEVEL2_PERIOD_ENDED = 0xE507 , RRC_CPHY_SWITCHED_TO_L1S = 0xE508 , RRC_PLW_PHY_DATA_IND = 0xE509 , RRC_PLW_DEACTIVATE_CNF = 0xE50A , RRC_PLW_CPHY_HOLD_WCDMA_CNF = 0xE50B , RRC_PLW_CPHY_STOP_WCDMA_CNF = 0xE50C , RRC_PLW_CPHY_RESTORE_WCDMA_CNF = 0xE50D , RRC_PLW_DL_DATA_TRANSFER_END = 0xE50E , RRC_CPHY_CPC_CNF = 0xE50F , RRC_CPHY_FREQ_SCAN_IND = 0xE510 , RRC_CPHY_INTRA_FREQ_RSSI_IND = 0xE511 , RRC_CPHY_DETECTED_CELL_MEAS_IND = 0xE512 , RRC_CPHY_INTRA_FREQ_CELL_MEAS_IND = 0xE513 , RRC_CPHY_INTER_FREQ_CELL_MEAS_IND = 0xE514 , RRC_CPHY_CELL_MEAS_ON_RACH_IND = 0xE515 , RRC_CPHY_CM_ERROR_IND = 0xE516 , RRC_CPHY_CM_PATTERN_ENDED_IND = 0xE517 , RRC_CPHY_CELL_LOCK_CNF = 0xE518 , RRC_GSM_RSSI_MEAS_CNF = 0xE519 , RRC_GSM_BSIC_DECODE_IND = 0xE51A , RRC_GSM_RSSI_SCAN_CNF = 0xE51B , RRC_UTRAN_RSSI_FROM_GSM_MEAS_IND = 0xE51C , RRC_CAPABILITY_REPORT_IND = 0xE51E , RRC_MULTI_BCCH_DECODE_IND = 0xE51F , RRC_INTRA_TOO_MANY_CELLS_IND = 0xE520 , RRC_INTRA_TOO_MANY_CELLS_ON_RENEW = 0xE521 , RRC_BCCH_DECODE_IND = 0xE522 , RRC_BCCH_ERROR_DECODE_IND = 0xE523 , RLC_UPDATE_DDR_ACK_NOT_ARRIVED = 0xE524 , RLC_UPDATE_DDR_ACK_ARRIVED = 0xE525 , // LTE Measurements during WB RRC_LTE_FIND_CELL_CNF = 0xE526 , RRC_LTE_FIND_CELL_ABORT_CNF = 0xE527 , RRC_LTE_MONITOR_CELL_IND = 0xE528 , RRC_PLW_PHY_HS_DATA_IND = 0xE529 , RRC_MRAT_RSSI_SCAN_REQ_CNF = 0xE529 , RRC_MRAT_RSSI_SCAN_ABORT_CNF = 0xE52A , RRC_END_OF_DRX_MEAS_IND = 0xE52C , /* MSR to GSM */ WB_DETECTED_MEAS_IN_GSM_IND = 0xE600 , WB_DETECTED_MEAS_IN_GSM_ABORT_ACK = 0xE601 , WB_RSSI_MEAS_IN_GSM_IND = 0xE602 , WB_RSSI_SCAN_IN_GSM_IND = 0xE603 , WB_MEAS_IN_GSM_IND = 0xE604 , WB_MEAS_IN_GSM_ABORT_ACK = 0xE605 , WB_LTE_RSSI_SCAN_ABORT_CNF = 0xE620 , WB_LTE_RSSI_SCAN_SUSPEND_CNF = 0xE621 , WB_LTE_RSSI_SCAN_CNF = 0xE623 , /* MSR to LTE */ WB_DETECTED_MEAS_IN_LTE_IND = 0xE650 , WB_DETECTED_MEAS_IN_LTE_ABORT_ACK = 0xE651 , WB_RSSI_MEAS_IN_LTE_IND = 0xE652 , WB_RSSI_SCAN_IN_LTE_IND = 0xE653 , WB_MEAS_IN_LTE_IND = 0xE654 , WB_MEAS_IN_LTE_ABORT_ACK = 0xE655 , /* DATA to MSR */ MSR_INTER_AFTER_POS_PI = 0xF001 , /*NAS to L1*/ NAS_L1_ENABLE_D2_API = 0xF100 , NAS_L1_DISABLE_D2_API = 0xF101 , /* DATA to MS */ TX_ENABLE_WAS_SENT = 0xF102 , DATA_TX_DISABLED_IN_POST_FAILURE = 0xF103 , // MSR TO MSR STOP_CURRENT_MEAS /*STOP_CURRENT_INTER_MEAS*/ = 0xFA00 , TEMP_UPDATE = 0xFA01 , BCH_INTER_TIMER_EXPIRED = 0xFA02 , BCH_INTER_RELEASE_TIMER = 0xFA03 , IDLE_INTER_FREQ_TIMER = 0xFA04 , ENABLE_FO_ENG = 0xFA05 , DISABLE_FO_ENG = 0xFA06 , CLOSE_FO_ENG = 0xFA08 , CM_AGING_PERIOD_OVER = 0xFA09 , DET_TEMP_UPDATE = 0xFA10 , GSM_L1_READY = 0xFB00 , MEAS_ON_RACH_TIMER_EXPIRED = 0xFB02 , DCXO_UPDATE_TIMER_EXPIRED = 0xFB03 , START_INTER_MEAS = 0xFB04 , // add for DMDSDS REGULAR_MEAS_FROM_SCH = 0xFB11 , // dual_sim_cbs unify fhguan 20170228 RESUME_PI_FROM_SCH = 0xFB12 , RESUME_CBS_FROM_SCH = 0xFB12 , // APLP TO MSR SET_WB_TERM_REQ = 0xFC00 , MSR_INIT_MODE_ACK = 0xFC01 , FREEZE_GSM_MEAS_REQ = 0xFC02 , // MSR High TO MSR Low MSR_TM_RAKE_LIST_UPDATE = 0xFD00 , MSR_TM_STTD_LIST_UPDATE = 0xFD01 , SCHD_RESUME_FREQSCAN_REQ = 0xFD0F , SCHD_RESTART_ACQ_REQ = 0xFD10 , // SCHD_START_BG_CELLSRCH_REQ = 0xFD01 , SCHD_START_BG_CELLSRCH_REQ = 0xFD11 , SCHD_RESUME_BG_CELLSRCH_REQ = 0xFD02 , SCHD_START_GRP_CELLSRCH_REQ = 0xFD03 , SCHD_RESUME_GRP_CELLSRCH_REQ = 0xFD04 , SCHD_RESUME_PCCPCH_REQ = 0xFD05 , SCHD_B4_GRP_SRCH_REQ = 0xFD06 , SCHD_GO_ON_MPS_REQ = 0xFD07 , SCHD_B4_BG_CELL_SRCH_REQ = 0xFD08 , SCHD_B4_NO_PER_NO_SLEP_DET = 0xFD09 , SCHD_RESUME_NPNS_DET_REQ = 0xFD0A , /* DETECTED_MEAS_MODE_IN_NO_PERIODIC_NO_SLEEP detected task */ SCHD_START_CELL_SRCH_REQ = 0xFD0B , SCHD_RESTORE_FOR_STTD_MODIFICATION = 0xFD0C , DUALSIM_TM_MS_STTD_MODIFY_CNF = 0xFD0E , // MSR Low TO MSR High // END_OF_CELL_SEARCH_CYCLE = 0xFE06 , READY_4_CELL_SEARCH = 0xFE07 , // SCHD to MSR SCHD_GAP_END_CHANGED_NOTIFY = 0xFD0D , // added by rzhang 21 / 5 / 2012 // SCHD_GAP_END_CHANGED_NOTIFY = 0xFD0B , // added by rzhang 21 / 5 / 2012 SCHD_EXT_GAP_REQ = 0xFE08 , EXT_GAP_TASK_TIMER_EXPIRY = 0xFE09 , WIFI_ALLOWED_FROM_SCH = 0xFE0A , MAX_EVENT_CODE = 0xFFFF /* maximum possible event code */ } eventCodesList_te; typedef unsigned int size_t ; typedef char CHAR ; typedef unsigned char UCHAR ; typedef int INT ; typedef unsigned int UINT ; typedef long LONG ; typedef unsigned long ULONG ; typedef short SHORT ; typedef unsigned short USHORT ; //ICAT EXPORTED ENUM typedef enum { OSA_TASK_READY , OSA_TASK_COMPLETED , OSA_TASK_TERMINATED , OSA_TASK_SUSPENDED , OSA_TASK_SLEEP , OSA_TASK_QUEUE_SUSP , OSA_TASK_SEMAPHORE_SUSP , OSA_TASK_EVENT_FLAG , OSA_TASK_BLOCK_MEMORY , OSA_TASK_MUTEX_SUSP , OSA_TASK_STATE_UNKNOWN , } OSA_TASK_STATE; //ICAT EXPORTED STRUCT typedef struct OSA_TASK_STRUCT { char *task_name ; /* Pointer to thread ' s name */ unsigned int task_priority ; /* Priority of thread ( 0 -255 ) */ unsigned long task_stack_def_val ; /* default vaule of thread */ OSA_TASK_STATE task_state ; /* Thread ' s execution state */ unsigned long task_stack_ptr ; /* Thread ' s stack pointer */ unsigned long task_stack_start ; /* Stack starting address */ unsigned long task_stack_end ; /* Stack ending address */ unsigned long task_stack_size ; /* Stack size */ unsigned long task_run_count ; /* Thread ' s run counter */ } OSA_TASK; typedef void *OsaRefT ; typedef UINT8 OSA_STATUS ; typedef UINT8 OS_STATUS ; typedef void* OS_HISR ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSASemaRef ; typedef void* OSAMutexRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPoolRef ; typedef void* OSATimerRef ; typedef void* OSAFlagRef ; typedef void* OSAPartitionPoolRef ; typedef void* OSTaskRef ; typedef void* OSSemaRef ; typedef void* OSMutexRef ; typedef void* OSMsgQRef ; typedef void* OSMailboxQRef ; typedef void* OSPoolRef ; typedef void* OSTimerRef ; typedef void* OSFlagRef ; typedef UINT8 OS_STATUS ; typedef OsaTimerStatusParamsT OSATimerStatus ; typedef void* OSATaskRef ; typedef void* OSAHISRRef ; typedef void* OSAMsgQRef ; typedef void* OSAMailboxQRef ; typedef void* OSAPartitionPoolRef ; typedef UINT8 OS_STATUS ; typedef unsigned long UNSIGNED ; typedef long SIGNED ; typedef unsigned char DATA_ELEMENT ; typedef DATA_ELEMENT OPTION ; typedef DATA_ELEMENT BOOLEAN ; typedef int STATUS ; typedef unsigned char UNSIGNED_CHAR ; typedef unsigned int UNSIGNED_INT ; typedef int INT ; typedef unsigned long * UNSIGNED_PTR ; typedef unsigned char * BYTE_PTR ; //ICAT EXPORTED ENUM typedef enum { SIMA = 0 , SIMB , SIM_NULL } DualSim; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; typedef UINT32 RtuTime_Type ; typedef UINT32 MtuTime_Type ; typedef UINT8 SourceID_type ; typedef UINT8 DestinationID_type ; typedef UINT16 MessageID_type ; //ICAT EXPORTED ENUM typedef enum { MSG_DUMMY , TASK_START , TASK_SUSPEND , TASK_COMPLETE , SIM_COMPLETE , MSG_BLOCK , // 5 TASK_REMOVE , TASK_ACCEPTE , // 7 TASK_REJECT , // 8 TASK_CANCEL , TASK_START_2 , /*sleepend is hard to change , so used start_2 to handle PI gapstart*/ TASK_ABORT , TASK_PEND , MSG_CNF // 0x0A } SchdMsgMark; //ICAT EXPORTED ENUM typedef enum { QUEUE_Main = 0 , QUEUE_RF , QUEUE_NULL } DualQue; //ICAT EXPORTED ENUM typedef enum { WcdmaMode = 0 , GsmMode , NULL_Rat } DualSimMode; //ICAT EXPORTED ENUM typedef enum { ResumePICmp = 0 , ResumeCbsCmp , Resume_NULL } ResumePIorCbsCmp; //ICAT EXPORTED ENUM typedef enum { NULL_TASK = 0 , SFN_DECODE , // 2 REGULAR_MEAS , // 3 SEARCH_SCELL_PATH , // 4 INTRA_BCH , // 4 // 4 INTRA_BCH_SETUP , INTER_BCH , FG_FREQ_SCAN_TASK , // 7 ICS_DETECT , // NEXT_DETECT , // 8 STTD_MODIFY_TASK , // 10 BCH_RELEASE , SLEEP_RATIO_ALGO , CBS_SETUP , RELEASE_PICH , SETUP_PICH , // 15 TERMINATE_GSM_TASK , DEACT_TASK , // TURN_OFF_RAT , // HOLD_WCDMA , // TURN_ON_RAT , // 20 RECEIVE_CBS , // 21 RECEIVE_PI , // 22 INTRA_RESELECTION , // 25 BCH_SKIP_REQ , // 2 FACH_DPCH_SETUP , FACH_DPCH_RELEASE , DPCH_MODIFY_TASK , PS_PIPCH , // 30 for WG Pspaging startstop WW_PS_PIPCH , // 31 for WG Pspaging // dual_sim_cbs unify fhguan 20170228 RESUME_PI , // 32 RESUME_CBS , // 33 RELEASE_CBS_TO_SCHD , // 34 RSSI_SCAN_TASK , EXT_GAP_TASK , // 3 GSM_BCCH_IN_WB , // JJX ADD 2017 -07-21 GSM_PLMN_BSIC_DECODE , LTE_PLMN_MEAS , // JJX ADD 2017 -07-21 SET_GSM_TASK , // 40 LTE_POWER_ON_TASK , // 41 LTE_POWER_DOWN_TASK , // 42 SUSPEND_LTE_REQ , // RESUME_LTE_REQ , // RF_RESET_REQ , // 45 SW_WIFI_TASK , // 46 ADC_QUERY_REQ , // 47 WB_TASKS_NUM , DUMMY_NULL = 63 , MEAS_TASK , // 3 QUEUE_CHANGE , // 3 SLEEP_ACK_TO_SCHD , // 3 RF_CHANGE , // 3 LATCH_MTU , // RECEIVE_PCH , // 3 WAKEUP_FOR_WB_ON , // 4 FRAME_INT_OPEN_OPERATION , // 4 // RELEASE_CBS_TO_SCHD , // PICBS_PROCEDURE_OVER , // 4 WB_SLEEP_TRIGGER_BY_SCHD , SCHD_INACTIVE , // 4 // unify fhguan 20170228 SLEEP_END , // 75 EARLY_WAKEUP_ACK , // 76 SLEEP_REQ_AFTER_CBS , // 77 TID_GSM_PCH , // 79 TID_WB_PCH , // 80 TID_LTE_PCH , // 81 TID_RF_RESET , // 82 TID_GSM_SLEEP , TID_GSM_EARLY_WAKEUP , TID_GSM_COPYCODE , TID_WB_COPYCODE , // 86 SCHD_TIMER_EXPIRE , // schd timer out WB_SWITCH_TO_MAIN_QUE , WB_SWITCH_TO_RF_QUE , WB_SWITCH_BLOCK_STATE , SCHD_SEARCH_ABORT_ACK , // 91 SCHD_PUNCTURE_ACK , // 92 LTE_GAP_IND , // 93 SCHD_URGENT_GAP_TIMER_EXPIRE , // 94 MAX_NUM_TASKS , //////// SIMB TASK ID //////// /*TID_GSM_PLMN_BG = 1 , TID_GSM_FB = 2 , TID_GSM_SB = 3 , TID_GSM_NCBCCH = 4 , TID_GSM_SCBCCH = 5 , TID_GSM_PLMN_FG = 6 , TID_GSM_PCH = 7 , TID_GSM_RESELECT_BCH = 8 , TID_RESUME_GSM = 9 , TID_SUSPEND_GSM = 10 , TID_GSM_TASKS_NUM = 11 , TID_GSM_SLEEP , TID_GSM_WAKEUP */ } TaskID_Type; //ICAT EXPORTED ENUM typedef enum { NO_BLOCK = 0 , HALF_BLOCK , FULL_BLOCK , ONE_SHOT_PASS } QueueBlockType; //ICAT EXPORTED ENUM typedef enum { NO_ACTIVE_SIM = 0 , SINGLE_WB_SIM = 2 , SINGLE_GSM_SIM = 3 , DOUBLE_WB_SIM = 4 , WB_GSM_SIM = 5 , DOUBLE_GSM_SIM = 6 , WB_LTE_SIM = 7 , SINGLE_LTE_SIM = 8 , LTE_GSM_SIM = 9 , DOUBLE_LTE_SIM = 10 , } DualSimConfig; //ICAT EXPORTED ENUM typedef enum { SCHD_SIM_POWER_DOWN = 0 , SCHD_SIM_OUT_DRX = 1 , SCHD_SIM_DRX_BUSY = 2 , SCHD_SIM_DRX_SLEEP = 3 , SCHD_SIM_SUSPEND = 4 , SCHD_SIM_DEACTIVE = 5 } SchdSimState; //ICAT EXPORTED ENUM typedef enum { SCHD_TASK_FINISH = 0 , SCHD_TASK_WAITING = 1 , SCHD_TASK_RUNNING = 2 , SCHD_WAIT_AND_RUN = 3 , SCHD_WAITING_BITMAP = 1 , SCHD_RUNNING_BITMAP = 2 } TaskStateType; //ICAT EXPORTED ENUM typedef enum { PUNCTURE_ONE_SHOT = 0x0 , PUNCTURE_FOREVER = 0x2 , PUNCTURE_RESUME = 0x4 , PUNCTURE_PCH = 0x8 } PUNCTURE_MODE; //ICAT EXPORTED ENUM typedef enum { PLP_DELAY_RSP = 0x0 , // plp delay 0x016c untill pi is coming in pspaging PLP_RSP_NODELAY = 0x1 // plp rsp 0x016c immediately in pspaging } PUNCTUREOneshotCause; //ICAT EXPORTED ENUM typedef enum { PUNCTURE_PI_NO_ACTION = 0x0 , PUNCTURE_PI_FOREVER = 0x1 } PuncturePIType; //ICAT EXPORTED ENUM typedef enum { WB_CBS_NULL = 0 , WB_CBS_SETUP = 1 , WB_CBS_RECEIVE = 2 , WB_CBS_RELEASE = 3 } WbCbsStateType; //ICAT EXPORTED ENUM typedef enum { SCHD_GAP_PINPOINTED , SCHD_GAP_DRIFTING , SCHD_GAP_LENGTHEN , SCHD_NOT_GAP_REQ } SchdGapType; //ICAT EXPORTED ENUM typedef enum { PI_task , CBS_task , ResumePI_task , ResumeCbs_task , NULL_task } RejectedGapType; typedef void ( opera_fun_rf ) ( void ) ; typedef void ( opera_fun_tracker ) ( void ) ; typedef void ( opera_fun_interrupt ) ( void ) ; //ICAT EXPORTED STRUCT typedef struct { UINT32 actionType ; UINT32 actionType2 ; // Only used when sending task_suspend message } actionForTask_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL isCbsStopped ; BOOL needStopCbsAfterTask ; // for scenario cannot send 0x12D directly BOOL releaseCbsToSchd ; BOOL measTaskRejected ; BOOL resumeCbsInProcess ; WbCbsStateType SchdCBSStage ; } schdCbsFlagGroup_ts; //ICAT EXPORTED ENUM typedef enum { NO_CELL_PCH =0 , CELL_PCH_STATE , } plwCphyByPchReq_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 realDestinationID ; // DST_NULL , DST_APLP , DST_MS... DualSim msgSource ; // SIMA or SIMB DualSimMode dualsimMode ; // used only for irat , WBGSM turnon / off / deactive UINT8 priority ; TaskID_Type taskId ; // UINT16 taskId ; SchdGapType gapType ; MtuTime_Type startTime ; UINT32 needTime ; // APLP time length , in ms UINT32 latestSchdTime ; // APLP time UINT16 drxCntr ; SchdMsgMark reason ; // TASK_START , TASK_COMPLETE... actionForTask_ts actionForTask ; UINT16 gapindex ; RtuTime_Type gapEndTime ; UINT16 NextAvailableDelayTime ; // in ms delay from currentaplp time } schdMsgHeader; //ICAT EXPORTED STRUCT typedef struct { MessageID_type messageID ; UINT16 messageLength ; SourceID_type sourceID ; DestinationID_type destinationID ; UINT8 messageControlFlags ; // for future use void *messageBody ; OSPoolRef poolRef ; schdMsgHeader *schdMsg ; OSPoolRef schdPoolRef ; } aplpMsgHeader; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; //ICAT EXPORTED ENUM typedef enum { MCL_ACTION_SET_ACTIVE_STATE = 0 , MCL_ACTION_REMOVE_MODE , MCL_ACTION_MAKE_ACTIVE , MCL_ACTION_MAX_ACTION // this must be the last state } MCLActionType_te; //ICAT EXPORTED ENUM typedef enum { MS_P_CCPCH = 0 , MS_S_CCPCH , MS_PRACH , MS_PICH , MS_CBS , MS_DPCH , MS_SLEEP , MS_CONCAT , MS_OOS , MS_DEFAULT , MS_MAX_PHY_CHANNEL /* add new channels BEFORE this line */ } msModes_te; //ICAT EXPORTED ENUM typedef enum { TCC_INTERRUPT = 0 , TCC_BCH , TCC_RACH , TCC_FACH , TCC_DCH , TCC_DEFAULT , TCC_MAX_MODES /* add new modes BEFORE this line */ } tccModeTokens_te; //ICAT EXPORTED ENUM typedef enum { MSR_INIT = 0 , MSR_CELL_SEARCH_MODE , MSR_CONNECTED_MODE , MSR_IDLE_MODE , MSR_OOS_MODE , MSR_BCCH_MEAS_MODE , MSR_GSM_WB_MEAS_MODE , MSR_LTE_WB_MEAS_MODE , // add by shuhanl MSR_IDLE_RECONFIG_MODE , MSR_IDLE_DCXO_MODE , MSR_DEFAULT , MSR_MAX_MODES /* add new modes BEFORE this line */ } msrModesTokens_te; //ICAT EXPORTED ENUM typedef enum { TM_NO_SLEEP_MODE = 0 , TM_SLEEP_MODE , TM_MAX_MODES /* add new modes BEFORE this line */ } TmModesTokens_te; //ICAT EXPORTED ENUM typedef enum { APLP_DEFAULT = 0 , APLP_MAX_MODES /* add new modes BEFORE this line */ } aplpModeTokens_te; //ICAT EXPORTED ENUM typedef enum { SCHD_NON_WB_MODE = 0 , SCHD_WB_MODE , SCHD_WG_MODE , SCHD_WW_MODE , SCHD_WL_MODE , SCHD_MAX_MODES /* add new modes BEFORE this line */ } schdModeTokens_te; typedef void ( mode_function ) ( aplp_event , void* ) ; typedef void ( init_mode_function ) ( aplp_event , void* ) ; typedef UINT16 state_name ; typedef void ( reaction_function ) ( aplp_event , void* ) ; //ICAT EXPORTED ENUM typedef enum { MS_CHAIN = 0 , TCC_CHAIN , MSR_CHAIN , TM_CHAIN , APLP_CHAIN , SCHD_CHAIN , MAX_CHAIN , /* add new chains BEFORE this line */ NULL_CHAIN } MODE_CHAINS_LIST; typedef Int8 UActivationTime ; typedef unsigned char Boolean ; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ /* used by MM */ // UMTS_MODE = UMTS_BAND_BIT , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; typedef Int16 UAnsi_41_IDNNS ; typedef Int8 UDigit ; typedef Int8 UIMEI_Digit ; typedef UNAS_Message_str UNAS_Message ; typedef Int8 UNAS_Synchronisation_Indicator ; typedef UNAS_SystemInformationGSM_MAP_str UNAS_SystemInformationGSM_MAP ; typedef Int32 UP_TMSI_GSM_MAP ; typedef Int8 URoutingAreaCode ; typedef Int16 URoutingParameter ; typedef Int32 UTMSI_GSM_MAP ; typedef Int32 UCellIdentity ; typedef Int32 UCSG_Identity ; typedef Int8 UMapParameter ; typedef Int8 UOccurrenceSequenceNumberOfPICH ; typedef Int8 UQ_Hyst_S ; typedef Int8 UQ_Hyst_S_Fine ; typedef SignedInt8 US_SearchQual ; typedef SignedInt8 US_SearchRXLEV ; typedef Int8 USpeedDependentScalingFactor ; typedef Int8 UT_Reselection_S ; typedef Int8 UT_Reselection_S_Fine ; typedef Int8 UTreselectionScalingFactor ; typedef Int8 UUpperLimit ; typedef Int16 UURA_Identity ; typedef Int8 UActivationTime ; typedef Int16 UBandComb ; typedef Int16 UC_RNTI ; typedef Int8 UCN_DRX_CycleLengthCoefficient ; typedef Int16 UE_RNTI ; typedef Int32 UESN_DS_41 ; typedef Int16 UH_RNTI ; typedef Int8 UHSDSCH_physical_layer_category ; typedef Int8 UHSDSCH_physical_layer_category_ext ; typedef Int8 UHSDSCH_physical_layer_category_ext2 ; typedef Int8 UHSDSCH_physical_layer_category_ext3 ; typedef Int8 UHSDSCH_physical_layer_category_ext4 ; typedef Int8 UHSDSCH_physical_layer_category_ext5 ; typedef Int8 UHSDSCH_physical_layer_category_ext6 ; typedef Int8 UHSDSCH_physical_layer_category_ext7 ; typedef Int8 UHSDSCH_physical_layer_category_ext8 ; typedef Int8 UHSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension ; typedef Int8 UMultiCarrier_HSDSCH_physical_layer_category_extension2 ; typedef UIMSI_DS_41_str UIMSI_DS_41 ; typedef Int32 UIntegrityProtInitNumber ; typedef Int8 UMaximumBitRate ; typedef Int8 UMaxPhysChPerFrame ; typedef Int16 UMaxPhysChPerFrame_768 ; typedef Int8 UMaxPhysChPerSubFrame_r4 ; typedef Int8 UMaxPhysChPerTimeslot_LCR_r7 ; typedef Int8 UMaxPhysChPerTS ; typedef Int8 UMaxPhysChPerTS_768 ; typedef Int8 UMaxSimultaneousCCTrCH_Count ; typedef Int8 UMaxTS_PerFrame ; typedef Int8 UMaxTS_PerSubFrame_r4 ; typedef Int32 UMessageAuthenticationCode ; typedef Int8 UN_300 ; typedef Int8 UN_301 ; typedef Int8 UN_302 ; typedef Int8 UN_304 ; typedef Int8 UN_308 ; typedef Int8 UN_310 ; typedef Int8 URadioFrequencyBandEUTRA ; typedef Int16 URadioFrequencyBandEUTRAExt ; typedef Int16 URadioFrequencyBandEUTRAExt2 ; typedef Int8 URRC_MessageSequenceNumber ; typedef Int8 URRC_TransactionIdentifier ; typedef Int32 US_RNTI ; typedef Int16 US_RNTI_2 ; typedef Int16 USRNC_Identity ; typedef Int32 USTART_Value ; typedef Int8 UT_309 ; typedef Int8 UT_312 ; typedef Int8 UT_313 ; typedef UTMSI_DS_41_str UTMSI_DS_41 ; typedef Int8 UTransmissionProbability ; typedef Int8 UUE_PowerClass ; typedef Int8 UUTRAN_DRX_CycleLengthCoefficient ; typedef Int8 UWaitTime ; typedef Int32 UCOUNT_C ; typedef Int32 UCOUNT_C_MSB ; typedef Int8 UDefaultConfigIdentity_r6 ; typedef Int8 UDefaultConfigIdForCellFACH ; typedef Int8 UDDI ; typedef Int8 ULogicalChannelIdentity ; typedef Int32 UMAC_d_HFN_initial_value ; typedef Int8 UMAC_LogicalChannelPriority ; typedef Int8 UMaxCS_Delay ; typedef Int16 UPDCP_SN_Info ; typedef Int8 UPredefinedConfigIdentity ; typedef Int8 UPredefinedConfigValueTag ; typedef Int8 URB_Identity ; typedef Int16 URLC_SequenceNumber ; typedef Int8 UROHC_Profile_r4 ; typedef Int16 UROHC_PacketSize_r4 ; typedef SignedInt8 UBLER_QualityValue ; typedef Int8 UCPCH_SetID ; typedef Int8 UDRAC_ClassIdentity ; typedef Int8 UE_DCH_MAC_d_FlowIdentity ; typedef Int8 UE_DCH_MAC_d_FlowMaxRetrans ; typedef Int8 UE_DCH_MAC_d_FlowMultiplexingList ; typedef Int8 UE_DCH_MAC_d_FlowPowerOffset ; typedef Int8 UGainFactor ; typedef Int8 UMAC_d_FlowIdentity ; typedef Int8 UMAC_ehs_QueueId ; typedef SignedInt8 UPowerOffsetPp_m ; typedef Int16 URateMatchingAttribute ; typedef Int8 UReferenceTFC_ID ; typedef Int16 UTFC_Value ; typedef Int8 UTFCS_IdentityPlain ; typedef Int16 UTimeDurationBeforeRetry ; typedef Int16 UTransmissionTimeValidity ; typedef Int8 UTransportChannelIdentity ; typedef Int8 UACK_NACK_repetitionFactor ; typedef Int8 UAC_To_ASC_Mapping ; typedef Int8 UActivationTimeOffset ; typedef SignedInt8 UAICH_PowerOffset ; typedef Int8 UAlpha ; typedef Int8 UAP_AICH_ChannelisationCode ; typedef Int8 UAP_PreambleScramblingCode ; typedef Int8 UAP_Signature ; typedef Int8 UAP_Subchannel ; typedef Int16 UAvailableSignatures ; typedef Int16 UAvailableSubChannelNumbers ; typedef SignedInt8 UBler_Target ; typedef Int8 UCD_AccessSlotSubchannel ; typedef Int8 UCD_CA_ICH_ChannelisationCode ; typedef Int8 UCD_PreambleScramblingCode ; typedef Int8 UCD_SignatureCode ; typedef Int8 UCellParametersID ; typedef Int8 UCfntargetsfnframeoffset ; typedef Int8 UChannelisationCode256 ; typedef Int8 UCodeNumberDSCH ; typedef SignedInt8 UConstantValue ; typedef SignedInt8 UConstantValueTdd ; typedef Int8 UCQI_RepetitionFactor ; typedef SignedInt8 UCSICH_PowerOffset ; typedef Int16 UDefaultDPCH_OffsetValueFDD ; typedef Int8 UDefaultDPCH_OffsetValueTDD ; typedef SignedInt8 UDeltaPp_m ; typedef Int8 UDeltaCQI ; typedef Int8 UDeltaNACK ; typedef Int8 UDeltaACK ; typedef Int8 UDeltaSIR ; typedef SignedInt8 UDPCCH_PowerOffset ; typedef SignedInt8 UDPCCH_PowerOffset2 ; typedef Int8 UDPCH_FrameOffset ; typedef Int8 UFDPCH_SlotFormat ; typedef Int16 UDSCH_RadioLinkIdentifier ; typedef Int16 UDurationTimeInfo ; typedef Int8 UDynamicPersistenceLevel ; typedef Int8 UE_AGCH_ChannelisationCode ; typedef Int8 UE_DCH_MinimumSet_E_TFCI ; typedef Int8 UE_DPCCH_DPCCH_PowerOffset ; typedef Int8 UE_DPDCH_PL_NonMax ; typedef Boolean UE_DPDCH_PowerInterpolation ; typedef Int8 UE_HICH_ChannelisationCode ; typedef Int8 UE_HICH_RGCH_SignatureSequence ; typedef Int8 UE_RGCH_CombinationIndex ; typedef Int8 UE_TFCI_TableIndex ; typedef Int16 UEARFCN ; typedef Int8 UHARQ_Preamble_Mode ; typedef Int8 UHS_SCCH_Codes ; typedef Int8 UNidentifyAbort ; typedef SignedInt8 UMaxAllowedUL_TX_Power ; typedef Int8 UMaxAvailablePCPCH_Number ; typedef Int8 UMaxPowerIncrease_r4 ; typedef Int16 UMaxTFCI_Field2Value ; typedef Int8 UMidambleShiftLong ; typedef Int8 UMidambleShiftShort ; typedef Int8 UMidambleShiftShort_VHCR ; typedef Int8 UMultiCodeInfo ; typedef Int8 UN_EOT ; typedef Int8 UN_PCH ; typedef Int8 UN_StartMessage ; typedef Int8 UNB01 ; typedef Int8 UNF_Max ; typedef Int8 UNumberOfDPDCH ; typedef Int8 UNumberOfFBI_Bits ; typedef Int8 UPC_Preamble ; typedef Int8 UPDSCH_Identity ; typedef SignedInt8 UPICH_PowerOffset ; typedef SignedInt8 UMeasurementPowerOffset ; typedef Int8 UPowerOffsetPilot_pdpdch ; typedef Int8 UPowerOffsetTPC_pdpdch ; typedef Int8 UPowerRampStep ; typedef Int8 UPreambleRetransMax ; typedef Int8 UPreambleScramblingCodeWordNumber ; typedef Int8 UPrimaryCCPCH_TX_Power ; typedef SignedInt8 UPrimaryCPICH_TX_Power ; typedef Int16 UPrimaryScramblingCode ; typedef Int8 UPUSCH_Identity ; typedef Int16 UReducedScramblingCodeNumber ; typedef SignedInt8 US_CPICH_PowerOffset_MIMO ; typedef Int8 USecondaryScramblingCode ; typedef Boolean UServingCellChangeMACreset ; typedef Int8 UServingCellChangeTrId ; typedef Int8 USRB_delay ; typedef Int8 USync_UL_Codes_Bitmap ; typedef USecondaryCellMIMOparametersFDD_v950ext UTargetCellPreconfigInfo_v950ext ; typedef Int8 UTGCFN ; typedef Int16 UTGD ; typedef Int8 UTGL ; typedef Int8 UTGPS_Reconfiguration_CFN ; typedef Int8 UTGPL ; typedef Int16 UTGPRC ; typedef Int8 UTGPSI ; typedef Int8 UTGSN ; typedef Int8 UTimeslotNumber ; typedef Int8 UTimeslotNumber_LCR_r4 ; typedef Int8 UTimeslotNumber_PRACH_LCR_r4 ; typedef Int8 UTimeslotSync2 ; typedef Int8 UTimingOffset ; typedef Int8 UTPC_CombinationIndex ; typedef Int8 UTPC_StepSizeFDD ; typedef Int8 UTPC_StepSizeTDD ; typedef Int8 UTransportBlockSizeIndex ; typedef Int8 UTreconfirmAbort ; typedef Int16 UUARFCN ; typedef Int8 UUE_DTX_DRX_Offset ; typedef SignedInt8 UUL_Interference ; typedef Int32 UUL_ScramblingCode ; typedef Int8 UUL_TimingAdvance ; typedef Int8 UUpPCHposition_LCR ; typedef Int8 UWi_LCR ; typedef Int16 UBCCH_ARFCN ; typedef SignedInt8 UCellIndividualOffset ; typedef Int8 UCPICH_Ec_N0 ; typedef Int8 UCPICH_RSCP ; typedef SignedInt8 UDeltaPRC ; typedef SignedInt8 UDeltaQrxlevmin ; typedef SignedInt8 UDeltaRSCP ; typedef SignedInt8 UDeltaRRC ; typedef Int8 UDGANSS_Sig_Id_Req ; typedef Int8 UDL_TransportChannelBLER ; typedef Int8 UFineSFN_SFN ; typedef Int8 UGANSS_Signal_Id ; typedef Int8 UGSM_CarrierRSSI ; typedef Int32 UGPS_TOW_1msec ; typedef Int32 UGPS_TOW_1sec ; typedef Int8 UHCS_PRIO ; typedef Int8 UHysteresis ; typedef Int8 UHysteresisInterFreq ; typedef Int8 UInterFreqCellID ; typedef Int8 UInterRATCellID ; typedef Int8 UInterRATCellInfoIndication ; typedef SignedInt8 UInterRATCellIndividualOffset ; typedef Int8 UIntraFreqCellID ; typedef Int8 UIntraFreqCellIDOnSecULFreq ; typedef Int8 UIODE ; typedef Int8 UMaxReportedCellsOnRACHinterFreq ; typedef Int8 UMeasurementIdentity ; typedef Int8 UMeasurementIdentityExt ; typedef Int8 UMeasurementIdentity_r9 ; typedef Int8 UNC_Mode ; typedef Int16 UObservedTimeDifferenceToGSM ; typedef Int8 UPathloss ; typedef SignedInt16 UPRC ; typedef Int8 UPrimaryCCPCH_RSCP ; typedef Int8 UQ_HCS ; typedef SignedInt8 UQ_OffsetS_N ; typedef SignedInt8 UQ_QualMin ; typedef Int8 UQ_QualMin_Offset ; typedef SignedInt8 UQ_RxlevMin ; typedef Int8 UQ_RxlevMin_Offset ; typedef Int8 UReportingRange ; typedef SignedInt8 URRC ; typedef Int8 USatID ; typedef Int32 USFN_SFN_ObsTimeDifference1 ; typedef Int16 USFN_SFN_ObsTimeDifference2 ; typedef SignedInt8 UThreshold_r6 ; typedef SignedInt16 UThresholdUsedFrequency_r6 ; typedef Int8 UTimeInterval ; typedef Int8 UTimeslotISCP ; typedef SignedInt8 UTransmittedPowerThreshold ; typedef Int16 UUE_RX_TX_TimeDifferenceType1 ; typedef Int16 UUE_RX_TX_TimeDifferenceType2 ; typedef Int16 UUE_RX_TX_TimeDifferenceThreshold ; typedef Int8 UUE_TransmittedPower ; typedef Int8 UUE_Positioning_Accuracy ; typedef Int8 UUE_Positioning_GPS_ReferenceTimeUncertainty ; typedef Int8 UUTRA_CarrierRSSI ; typedef Int8 UW ; typedef Int8 UBCC ; typedef Int16 UBCCH_ModificationTime ; typedef Int8 UCellValueTag ; typedef UETWS_WarningSecurityInfo_str UETWS_WarningSecurityInfo ; typedef Int16 UEUTRA_PhysicalCellIdentity ; typedef Int8 UExpirationTimeFactor ; typedef UGERAN_SystemInfoBlock_str UGERAN_SystemInfoBlock ; typedef UGSM_Classmark2_str UGSM_Classmark2 ; typedef UGSM_Classmark3_str UGSM_Classmark3 ; typedef UGSM_MS_RadioAccessCapability_str UGSM_MS_RadioAccessCapability ; typedef Int8 UGsmSecurityCapability ; typedef UHNBName_str UHNBName ; typedef UGERANIu_RadioAccessCapability_str UGERANIu_RadioAccessCapability ; typedef Int8 UMIB_ValueTag ; typedef Int8 UNCC ; typedef Int16 UPLMN_ValueTag ; typedef Int8 USegCount ; typedef Int8 USegmentIndex ; typedef Int16 USFN_Prime ; typedef USIB_Data_fixed_str USIB_Data_fixed ; typedef USIB_Data_variable_str USIB_Data_variable ; typedef Int8 USIBOccurIdentity ; typedef Int8 USIBOccurValueTag ; typedef UANSI_41_NAS_Parameter_str UANSI_41_NAS_Parameter ; typedef Int8 UMin_P_REV ; typedef UANSI_41_NAS_Parameter UNAS_SystemInformationANSI_41 ; typedef Int16 UNID ; typedef Int8 UP_REV ; typedef Int16 USID ; //ICAT EXPORTED ENUM typedef struct UUL_RLC_ModeTag { T_UUL_RLC_Mode tag ; union { /* 0 */ UUL_AM_RLC_Mode ul_AM_RLC_Mode ; /* 1 */ UUL_UM_RLC_Mode ul_UM_RLC_Mode ; /* 2 */ UUL_TM_RLC_Mode ul_TM_RLC_Mode ; /* 3 */ Int8 _dummy4_ ; } choice ; } UUL_RLC_Mode; typedef UOctetModeRLC_SizeInfoType1 URLC_PDU_Size ; typedef UMIMO_PilotConfiguration_v7f0ext UMIMO_Parameters_v7f0ext ; typedef UMIMO_Parameters_v7f0ext UTargetCellPreconfigInfo_v890ext ; typedef URRCConnectionRelease_CCCH_r4_IEs URRCConnectionRelease_CCCH_r5_IEs ; typedef UPRACH_Partitioning_LCR_r4 UE_RUCCH_AccessServiceClass ; typedef UCSGCellInfoList UCSGIntraFreqCellInfoList ; typedef URRCConnectionRelease_v690ext_IEs URRCConnectionRelease_CCCH_v690ext_IEs ; typedef URRCConnectionRelease_v860ext_IEs URRCConnectionRelease_CCCH_v860ext_IEs ; typedef USysInfoType5 USysInfoType5bis ; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Frequency ; //ICAT EXPORTED ENUM typedef enum TddBandModeTag { /* @ENUM_DESC@ TDD band mode bit */ TDD_BAND_1_MODE = 0x0001 , TDD_BAND_2_MODE = 0x0002 , TDD_BAND_3_MODE = 0x0004 , TDD_BAND_4_MODE = 0x0008 , /*CQ00019884 add E band add begin*/ TDD_BAND_5_MODE = 0x0010 , TDD_BAND_6_MODE = 0x0020 , TDD_BAND_7_MODE = 0x0040 , TDD_BAND_8_MODE = 0x0080 , /*CQ00019884 add E band add end*/ GSM_BAND_MODE = 0x1000 , INVALID_TDD_BAND_MODE = 0xffff } TddBandMode; //ICAT EXPORTED ENUM typedef enum FddBandModeTag { /* @ENUM_DESC@ FDD band mode bit */ FDD_BAND_1_MODE = 0x00001 , FDD_BAND_2_MODE = 0x00002 , FDD_BAND_3_MODE = 0x00004 , FDD_BAND_4_MODE = 0x00008 , FDD_BAND_5_MODE = 0x00010 , FDD_BAND_6_MODE = 0x00020 , FDD_BAND_7_MODE = 0x00040 , FDD_BAND_8_MODE = 0x00080 , FDD_BAND_9_MODE = 0x00100 , FDD_BAND_10_MODE = 0x00200 , FDD_BAND_11_MODE = 0x00400 , FDD_BAND_12_MODE = 0x00800 , FDD_BAND_13_MODE = 0x01000 , FDD_BAND_14_MODE = 0x02000 , /*CQ00107063 add band 19 begin*/ FDD_BAND_15_MODE = 0x04000 , FDD_BAND_16_MODE = 0x08000 , FDD_BAND_17_MODE = 0x10000 , FDD_BAND_18_MODE = 0x20000 , FDD_BAND_19_MODE = 0x40000 , /*CQ00107063 add band 19 end*/ FDD_GSM_BAND_MODE = 0x80000 , /*CQ00107338 change from GSM_BAND_BIT , */ INVALID_FDD_BAND_MODE = 0xFFFF } FddBandMode; typedef Int8 FddBandIndex ; typedef Int32 FddBandsMask ; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListTag { Int8 numPrimeUarfcns ; UUARFCN primeUarfcns [ 25 ] ; } FddBandPrimeUarfcnList; //ICAT EXPORTED STRUCT typedef struct FddBandPrimeUarfcnListsTag { FddBandPrimeUarfcnList primeList [ ( 18 +1 ) ] ; } FddBandPrimeUarfcnLists; typedef Int8 TddBandIndex ; typedef Int16 TddBandsMask ; //ICAT EXPORTED ENUM typedef enum ScenarioGsmPlmnSearchStateTag { SGPS_IDLE , SGPS_WAITING_FOR_RSSI_SCAN_IND , SGPS_WAITING_FOR_BCCH_DECODE_IND } ScenarioGsmPlmnSearchState; //ICAT EXPORTED ENUM typedef enum ScenarioUmtsToLteReselectionStateTag { SUTLR_IDLE , SUTLR_AWAITING_AUTO_CHAN_RELEASE_COMPLETE , SUTLR_AWAITING_HOLD_CNF , // SUTLR_AWAITING_PLD_LTE_CNF / * HAW will not to receive pldLteCnf from APLP * / // SUTLR_AWAITING_DEACTIVATE_CNF / * The deactivate procedure succeeded by reselection success can be seperated from this * / } ScenarioUmtsToLteReselectionState; //ICAT EXPORTED ENUM typedef enum ScenarioUmtsToLteReselectionFailStateTag { SUTLRF_IDLE , SUTLRF_AWAITING_PLD_WCDMA_CNF , SUTLRF_AWAITING_PLW_CPHY_RESTORE_WCDMA_CNF , SUTLRF_AWAITING_FINISH_SYNC_PROCEDURE_A , // CQ61626 SUTLRF_AWAITING_PLW_CPHY_PCCPCH_RELEASE_CNF , SUTLRF_AWAITING_PLW_CPHY_SCCPCH_PICH_RELEASE_CNF } ScenarioUmtsToLteReselectionFailState; //ICAT EXPORTED ENUM typedef enum ScenarioUmtsToLteHandoverStateTag { SUTLH_IDLE , SUTLH_AWAITING_AUTO_CHAN_RELEASE_COMPLETE , SUTLH_AWAITING_PLD_LTE_CNF , // SUTLH_AWAITING_DEACTIVATE_CNF / * The deactivate procedure succeeded by reselection success can be seperated from this * / } ScenarioUmtsToLteHandoverState; //ICAT EXPORTED ENUM typedef enum ScenarioUmtsToLteHandoverFailureStateTag { SUTLHF_IDLE , SUTLHF_AWAITING_WCDMA_CNF , SUTLHF_AWAITING_PLW_CPHY_RL_SETUP_CNF , SUTLHF_AWAITING_FINISH_SYNC_PROCEDURE_A , // CQ00095138 mod SUTLHF_AWAITING_PLW_CPHY_RL_SETUP_CNF_AFTER_SYNC_PROC_A // CQ00095138 add } ScenarioUmtsToLteHandoverFailureState; //ICAT EXPORTED ENUM typedef enum ScenarioLteToUmtsReselectionStateTag { SLTUR_IDLE , SLTUR_AWAITING_PLD_WCDMA_CNF , SLTUR_AWAITING_PLW_CPHY_INTRA_FREQ_CELL_MEASUREMENT_IND , SLTUR_AWAITING_PLW_CPHY_RL_SETUP_CNF , SLTUR_AWAITING_PLW_CPHY_RL_RELEASE_CELL_SELECT_FAILURE_CNF } ScenarioLteToUmtsReselectionState; //ICAT EXPORTED ENUM typedef enum ScenarioLteToUmtsReselectionFailStateTag { SLTURF_IDLE , SLTURF_AWAITING_AUTO_CHAN_RELEASE_COMPLETE , SLTURF_AWAITING_HOLD_CNF , SLTURF_AWAITING_DEACTIVATE_CNF /* The deactivate procedure succeeded by reselection success can be seperated from this */ } ScenarioLteToUmtsReselectionFailState; //ICAT EXPORTED ENUM typedef enum ScenarioLteToUmtsHandoverStateTag { SLTUH_IDLE , SLTUH_AWAITING_PLD_WCDMA_CNF , SLTUH_AWAITING_PLW_CPHY_RL_SETUP_CNF , SLTUH_AWAITING_FINISH_SYNC_PROCEDURE_A , SLTUH_AWAITING_CPHY_RL_SETUP_CNF_AFTER_SYNC_PROCEDURE_A } ScenarioLteToUmtsHandoverState; //ICAT EXPORTED ENUM typedef enum ScenarioLteToUmtsHandoverFailureStateTag { SLTUHF_IDLE , SLTUHF_AWAITING_AUTO_CHAN_RELEASE_COMPLETE , SLTUHF_AWAITING_DEACTIVATE_CNF /* CQ00051295 */ } ScenarioLteToUmtsHandoverFailureState; //ICAT EXPORTED ENUM typedef enum ScenarioLteCellMeasurementStateTag { SLCM_IDLE , SLCM_ACTIVE } ScenarioLteCellMeasurementState; //ICAT EXPORTED ENUM /* CQ00025629 jpingma : Upgrade to LTE+WCDMA feature : begin */ typedef enum ScenarioLtePlmnSearchStateTag { SLPS_IDLE , SLPS_WAITING_FOR_FIND_LTE_CELL_CNF , SLPS_WAITING_FOR_FIND_LTE_CELL_ABORT_CNF , SLPS_WAITING_FOR_IRAT_GAP_IND , SLPS_WAITING_FOR_IRAT_GAP_IND_STOP_CNF , /* CQ00086922 added: wait for GapInd in order to stop the search CQ00102760*/ SLPS_WAITING_FOR_LTE_NCELL_BCH_IND , SLPS_WAITING_FOR_LTE_NCELL_BCH_STOP_CNF } ScenarioLtePlmnSearchState; //ICAT EXPORTED ENUM typedef enum HawRedirectStateTag { HAW_REDIRECT_STATE_NULL = 0 , HAW_REDIRECT_STATE_FACH , HAW_REDIRECT_STATE_DCH } HawRedirectState; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned char BOOL ; typedef signed short INT16 ; typedef unsigned char Bool ; typedef unsigned long UINT32 ; typedef unsigned short Int16 ; //ICAT EXPORTED ENUM typedef enum HawPhyStateTag { HAW_PHY_STATE_NULL = 0 , HAW_PHY_STATE_IDLE , HAW_PHY_STATE_FACH , HAW_PHY_STATE_DCH , HAW_PHY_STATE_SYNC } HawPhyState; //ICAT EXPORTED ENUM typedef enum HawModeTag { HAW_NULL , HAW_UMTS , HAW_GSM /* CQ00025639 htfeng : Upgrade to LTE+WCDMA feature : begin */ , HAW_LTE /* CQ00025639 htfeng : Upgrade to LTE+WCDMA feature : end */ } HawMode; typedef Int32 CellIdMask ; //ICAT EXPORTED ENUM typedef enum HawActiveReconfigTypeTag { RACHING_IN_PROGRESS , /*0*/ INITIAL_CELL_SEARCH_1 , INITIAL_CELL_SEARCH_2 , INITIAL_CELL_SEARCH_3 , INITIAL_CELL_SEARCH_4 , BG_PLMN_SEARCH_1 , /*5*/ BG_PLMN_SEARCH_2 , BG_PLMN_SEARCH_3 , CELL_SELECTION , INTRA_FREQ_CELL_RESELECT_1 , INTRA_FREQ_CELL_RESELECT_2 , /*10*/ INTRA_FREQ_CELL_RESELECT_3 , INTRA_FREQ_CELL_RESELECT_4 , INTRA_FREQ_CELL_RESELECT_5 , INTER_FREQ_CELL_RESELECT , BCH_CONFIGURATION_1 , /*15*/ BCH_CONFIGURATION_2 , PCH_RECEPTION , INITAL_FACH_RACH_CONFIGURATION , CONNECTED_FACH_RACH_CONFIGURATION , CCTRCH_RELEASE_1 , /*20*/ CCTRCH_RELEASE_2 , DCH_ESTABLISHMENT , DCH_RECONFIGURATION_SYNCA , DCH_RECONFIGURATION_NO_SYNCA , SHO_RECONFIGURATION , /*25*/ RACH_DATA_TRANSMISSION , WCDMA_L1_DEACTIVATION , WCDMA_L1_ACTIVATION , DUAL_RATE_MODE_CHANGE , HSUPA_ACTIVE , /*30*/ HSDPA_ACTIVE , CBS_RECEPTION , /*32*/ GSM_PLMN_SEARCH , // CQ25485 LTE_PLMN_SEARCH_1 , // CQ32300 LTE_PLMN_SEARCH_2 , LTE_PLMN_SEARCH_3 , LTE_PLMN_SEARCH_4 , NO_ACTIVE_RECONFIG } HawActiveReconfigType; typedef Int8 KiTimerId ; typedef unsigned int FrameTicks ; typedef Int16 KiTimerUserValue ; typedef unsigned int size_t ; typedef unsigned int clock_t ; typedef unsigned int time_t ; //ICAT EXPORTED STRUCT typedef struct { UINT8 second ; // Seconds after minute: 0 - 59 UINT8 minute ; // Minutes after hour: 0 - 59 UINT8 hour ; // Hours after midnight: 0 - 23 UINT8 day ; // Day of month: 1 - 31 UINT8 month ; // Month of year: 1 - 12 UINT16 year ; // Calendar year: e.g 2001 } RTC_CalendarTime; typedef UINT8 RTC_Handle ; typedef void ( *RTC_ISR ) ( void ) ; typedef void ( *RTCOnTimeSetNotifyCallback ) ( RTC_CalendarTime* oldTime , RTC_CalendarTime* newTime ) ; //ICAT EXPORTED ENUM typedef enum { PMU_POR = 1 , PMU_EMR , PMU_WDTR = ( PMU_EMR+2 ) } PMU_LastResetStatus; //ICAT EXPORTED ENUM typedef enum { // enumerated EE_SYS_RESET_EN , EE_ASSERT_EN , EE_EXCEPTION_EN , EE_WARNING_EN , EE_NUM_ENTRY_TYPES , // Codes EE_SYS_RESET = 300 , EE_ASSERT = 350 , EE_EXCEPTION = 450 , EE_WARNING = 550 } EE_entry_t; //ICAT EXPORTED ENUM typedef enum { EEE_DataAbort , EEE_PrefetchAbort , EEE_FatalError , EEE_SWInterrupt , EEE_UndefInst , EEE_ReservedInt } EE_ExceptionType_t; //ICAT EXPORTED ENUM typedef enum { EE_NO_RESET_SOURCE , EE_POWER_ON_RESET = PMU_POR , EE_EXT_MASTER_RESET , EE_WDT_RESET = ( PMU_EMR+2 ) } EE_PMU_t; //ICAT EXPORTED STRUCT typedef struct { UINT32 r0 ; /* register r0 contents */ UINT32 r1 ; /* register r1 contents */ UINT32 r2 ; /* register r2 contents */ UINT32 r3 ; /* register r3 contents */ UINT32 r4 ; /* register r4 contents */ UINT32 r5 ; /* register r5 contents */ UINT32 r6 ; /* register r6 contents */ UINT32 r7 ; /* register r7 contents */ UINT32 r8 ; /* register r8 contents */ UINT32 r9 ; /* register r9 contents */ UINT32 r10 ; /* register r10 contents */ UINT32 r11 ; /* register r11 contents */ UINT32 r12 ; /* register r12 contents */ UINT32 SP ; /* register r13 contents */ UINT32 LR ; /* register r14 contents ( excepted mode ) */ UINT32 PC ; /* PC - excepted instruction */ UINT32 cpsr ; /* saved program status register contents */ UINT32 FSR ; /* Fault status register */ UINT32 FAR_R ; /* Fault address register */ EE_PMU_t PMU_reg ; /* saved reset cause - should be last */ // UINT32 PESR ; / * Extension * / // UINT32 XESR ; // UINT32 PEAR ; // UINT32 FEAR ; // UINT32 SEAR ; // UINT32 GEAR ; } EE_RegInfo_Data_t; //ICAT EXPORTED ENUM typedef enum { /* @ENUM_DESC@ EE context types to be saved in the context buffer*/ EE_CT_None , /* @ENUM_VAL_DESC@ Save no context*/ EE_CT_ExecTrace , /* @ENUM_VAL_DESC@ Save Trace buffer*/ EE_CT_StackDump /* @ENUM_VAL_DESC@ Save Stack Dump*/ } EE_ContextType_t; //ICAT EXPORTED ENUM typedef enum { EE_CDT_None , EE_CDT_ExecTrace , EE_CDT_StackDump , EE_CDT_UserDefined=0x10 } EE_ContextDataType_t; //ICAT EXPORTED STRUCT typedef struct { UINT32 _PESR ; UINT32 _XESR ; UINT32 _PEAR ; UINT32 _FEAR ; UINT32 _SEAR ; UINT32 _GEAR ; } EE_XscGasketRegs; //ICAT EXPORTED STRUCT typedef struct { UINT16 fileWriteOffset ; // DO NOT REMOVE OR CHANGE TYPE!!! ( for cyclic file ) EE_entry_t type ; RTC_CalendarTime dateAndTime ; char desc [ 100 ] ; /* Description string size =ERROR_HANDLER_MAX_DESC_SIZE*/ EE_RegInfo_Data_t RegInfo ; EE_ContextDataType_t contextBufferType ; UINT8 contextBuffer [ 512 ] ; UINT32 CHKPT0 ; UINT32 CHKPT1 ; char taskName [ 10 ] ; UINT32 taskStackStart ; UINT32 taskStackEnd ; // UP TO HERE 0x1e4 bytes ( out of 0x200 allocated by linker control file INT_RAM_EE segment ) EE_XscGasketRegs xscaleGasketRegs ; UINT32 warningCntr ; // reserved [ 1 ] ; } EE_Entry_t; typedef void voidPFuncVoid ( void ) ; typedef void ( * ExceptionHendler ) ( EE_RegInfo_Data_t* ) ; typedef EEHandlerAction ( * ExceptionHendlerExt ) ( EE_ExceptionType_t type , EE_RegInfo_Data_t* ) ; typedef UINT32 DataBuff [ 0x1234 ] ; typedef void* OSPoolRef ; typedef void ( *plwPhyHsDataInd_t ) ( plHsDataIndHeader_ts *phyHsDataInd , UINT8 simId ) ; //ICAT EXPORTED STRUCT typedef struct plRFDHSPAAddtionDBOTag { INT16 DBOOffsetHSUPASubTest [ 5 ] ; INT16 DBOOffsetHSDPASubTest [ 4 ] ; } plRFDHSPAAddtionDBO_ts; typedef void ( *wcdmaDeactivate_tf ) ( void ) ; typedef INT16 plCalibUarfcnBandsLimits_te ; typedef UINT8 DestinationID_type ; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\gplc_stub_ds3.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\gplc_stub_ds3.c typedef unsigned short Int16 ; typedef unsigned char Int8 ; typedef unsigned char Boolean ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; typedef UINT8 plgDaiMode_te ; typedef UINT8 plgTchLoopbackMode_te ; typedef UINT8 plgTchMode_te ; //ICAT EXPORTED STRUCT typedef struct { plgDaiMode_te daiMode ; plgTaskId_te testTask ; } plgTiDaiReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgTchMode_te tchMode ; plgTchLoopbackMode_te loopbackMode ; plgTaskId_te testTask ; } plgTiTchReq_ts; typedef UINT8 plgRssiMode_te ; typedef UINT8 plgFreqOffResult_te ; typedef UINT8 plgBurst2Type_te ; typedef UINT8 plgBurstMode_te ; typedef UINT8 plgIqFetchMode_te ; typedef UINT8 plgRampEditErrorCode_te ; typedef UINT8 plgBandGrouping_te ; typedef UINT8 plgRfModulation_te ; typedef UINT8 MeasType3GPP_ts ; typedef UINT8 plgRampProfileType_te ; typedef UINT8 plgRampType_te ; typedef UINT8 plgModType_te ; typedef UINT8 plgPowType_te ; //ICAT EXPORTED STRUCT typedef struct plgTestRampDataTag { plgRampProfileType_te RampProfileType ; plgRampType_te UPorDOWN ; plgModType_te Modulation ; plgPowType_te PowerMode ; INT16 newRampValues [ 7 ] ; } plgTestRampData_ts; typedef UINT16 plgBurstData_ts [ 30 ] ; typedef UINT8 plgGainProgramMode_te ; typedef UINT8 plgRxControlMode_te ; typedef UINT8 plgLoopBackMode_te ; typedef UINT8 plgSlotMode_te ; //ICAT EXPORTED STRUCT typedef struct { plgSlotMode_te mode ; UINT8 txPowerLevel ; UINT16 burstData [ 30 ] ; // UINT16 rxGain ; plgBurst2Type_te burstType ; } plgSlotDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { plgSlotDefinition_ts slotDefinition [ 8 ] ; plgArfcn_ts txChannel ; // plgArfcn_ts rxChannel ; // plgArfcn_ts monitorChannel ; UINT16 timingAdvance ; // UINT16 txOnRisingAdvance ; // UINT16 rxOnRisingAdvance ; // UINT16 monitorAdvance ; } plgFrameDefinition_ts; typedef UINT16 plgL1Rssi_ts ; //ICAT EXPORTED STRUCT typedef struct { plgL1Rssi_ts rssiForSlot [ 16 ] ; /* one result for each slot , in each of two frames */ INT16 freqOffsetForSlot [ 16 ] ; /* Frequency offset from ideal , in Hz. */ INT16 timingOffsetForSlot [ 16 ] ; /* Timing offset of received burst from ideal position. */ UINT16 bitErrorsForSlot [ 16 ] ; /* Number of bit errors in the received training sequence. */ } plgRxTestResults_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgRfToolModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; } plgCalDevGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; UINT16 commandRef ; } plgCalDevGsmCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; } plgCalDevGsmFinishReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; Bool success ; } plgCalDevGsmFinishCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgArfcn_ts arfcn ; UINT8 gain ; plgRssiMode_te mode ; } plgCalDevGsmRssiReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgArfcn_ts arfcn ; plgL1Rssi_ts rssiLevel ; } plgCalDevGsmRssiCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgArfcn_ts arfcn ; UINT16 dacValue ; } plgCalDevGsmFreqOffsetMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; INT16 freqOffset ; plgFreqOffResult_te status ; } plgCalDevGsmFreqOffsetMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgBurstMode_te bursting ; Bool burstOn [ 4 ] ; plgArfcn_ts arfcn [ 4 ] ; UINT8 rxGain [ 4 ] ; plgBurst2Type_te burst2Type ; UINT8 timingAdvance ; UINT8 rachData ; UINT8 txPowerLevel ; UINT8 trainingSeq ; } plgCalDevGsmBurstReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgBurstMode_te bursting ; UINT32 PdoffsetValue ; } plgCalDevGsmBurstCnf_ts; typedef UINT8 plgPrimeAgcMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgIqFetchMode_te iqFetchMode ; UINT8 numOfBursts ; UINT32 numOfFrames ; plgArfcn_ts arfcn ; UINT16 rxGain [ 4 ] ; plgPrimeAgcMode_te agcMode ; } plgCalDevGsmIqFetchReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgIqFetchMode_te iqFetchMode ; } plgCalDevGsmIqFetchCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 dacValue ; } plgCalDevGsmSetAfcDacReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmSetAfcDacCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 Action_RW ; UINT16 RFAddr ; UINT16 RFPl ; } plgCalDevGsmCtrlRWReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 RFPl ; } plgCalDevGsmCtrlRWCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgTestRampData_ts rampData ; } plgCalDevGsmSetPowerRampReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgRampEditErrorCode_te rampEditErrorCode ; } plgCalDevGsmSetPowerRampCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT8 tableIndex ; } plgCalDevGsmPowerRampAttributesReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT8 tableIndex ; char profileName [ 16 ] ; // Profile name displayed in GRAiT UINT8 numValidPoints ; // Number of valid profile points ( out of 64 table entries ) UINT16 minScale ; // Minimum legal value UINT16 maxScale ; // Maximum legal value plgBandGrouping_te bandGrouping ; // Which bands ' profiles should be identical Bool modulationsGrouped ; // Should profiles for GMSK , 8 PSK be identical } plgCalDevGsmPowerRampAttributesCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgBurstData_ts burstData ; } plgCalDevGsmSetBurstDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmSetBurstDataCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; Bool measure ; } plgCalDevGsmDcOffsetReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 iTxOffset ; UINT16 qTxOffset ; UINT16 iRxOffset ; UINT16 qRxOffset ; } plgCalDevGsmDcOffsetCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 gain ; UINT16 gainNumber ; plgGainProgramMode_te mode ; } plgCalDevGsmGainProgramReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 gain ; } plgCalDevGsmGainProgramCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgRxControlMode_te command ; UINT32 parameter ; UINT8 index ; } plgCalDevGsmRxControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgRxControlMode_te command ; } plgCalDevGsmRxControlCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; BOOL StartMeas ; MeasType3GPP_ts MeasType3GPP ; UINT32 numberOfBlockToMeas ; UINT8 Instr_ID ; } plgSeBerMeas3GppReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; BOOL ReportsEnable ; } plgSeBerMeas3GppReportsReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 rampScale ; UINT16 rampScaleInitValue ; UINT16 PdOffsetValue ; UINT16 PedestalValue ; } plgCalDevGsmRampScaleReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmRampScaleCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgBandMode_te bandMode ; } plgCalDevGsmSetBandModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmSetBandModeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgArfcn_ts bchArfcn ; plgArfcn_ts tchArfcn ; UINT8 timeSlot ; UINT8 tsc ; UINT8 powerLevel ; plgLoopBackMode_te mode ; } plgCalDevGsmLoopBackReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; Bool success ; } plgCalDevGsmLoopBackCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; } plgCalDevGsmLoopBackDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; INT16 timingOffsetQbits ; INT16 freqOffsetHz ; UINT16 bitErrors ; UINT16 softDecisionTotal ; INT16 rssi ; Bool success ; } plgCalDevGsmLoopBackDataCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgArfcn_ts arfcn ; UINT16 gainCode ; } plgCalDevGsmRxSelfCalibrationReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT32 selfCalibResult ; } plgCalDevGsmRxSelfCalibrationCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgArfcn_ts arfcn ; } plgCalDevGsmTxSelfCalibrationReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT32 selfCalibResult ; } plgCalDevGsmTxSelfCalibrationCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; // UINT16 plgArfcn_ts arfcn ; // UINT16 plgBurst2Type_te burstType [ 4 ] ; // UINT8 UINT16 rampScale [ 4 ] ; UINT16 numTS ; UINT16 numFrames ; } plgTxStepData_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 stepNumber ; UINT16 reserved ; plgTxStepData_ts stepParams ; } plgCalDevGsmTxFastCalibrationStepInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; // UINT16 UINT16 seqRepetition ; // Not used currently , should be zero ( how many times to repeat the sequence ) UINT16 seqRepInterval ; // Not used currently , should be zero ( number of frame periods to wait before next reptition ) UINT16 stepCount ; // step number UINT16 debugMode ; // 1 :enable debug mode UINT16 tsc [ 2 ] ; // tsc [ 0 ] for GMSK , tsc [ 1 ] for 8 PSK plgTxStepData_ts txStepParams [ 100 ] ; } plgCalDevGsmTxFastCalibrationSequenceReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmTxFastCalibrationSequenceCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; // UINT16 plgBandMode_te bandMode ; // UINT16 plgArfcn_ts arfcn ; UINT16 stepCount ; // step number UINT16 Rample [ 13 ] ; } plgCalDevGsmTxLolCalibrationSequenceReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmTxLolCalibrationSequenceCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 fbCount ; UINT16 arfcn ; INT16 primeVal ; UINT16 agcMeasInterval ; UINT16 bandMode ; UINT16 reserved ; UINT16 fbInterval [ 4 ] ; } FastCalFbSyncPara_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; // UINT16 plgArfcn_ts arfcn ; // UINT16 plgGainProgramMode_te gainProgramMode ; // UINT8 plgRssiMode_te rssiMode ; // UINT8 UINT16 reserved ; UINT16 numTs ; UINT16 numFrames ; UINT16 gainvalue [ 6 ] ; // value to be written in gain table UINT16 gainNum [ 6 ] ; // index to gain table UINT16 rssiGain [ 6 ] ; // gain to use for measurments } plcCalDevDebugRxFastCalStepParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; // UINT16 UINT16 stepCount ; // INT16 primeVal ; UINT16 debugMode ; // UINT16 reserved ; FastCalFbSyncPara_ts fbSyncPara ; plcCalDevDebugRxFastCalStepParams_ts stepData [ 100 ] ; } plgCalDevGsmRxFastCalibrationSequenceReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; // UINT16 UINT16 stepNumber ; UINT16 reserved ; plcCalDevDebugRxFastCalStepParams_ts stepParams [ 10 ] ; } plgCalDevGsmRxFastCalibrationStepInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; // UINT16 UINT16 stepNumber ; UINT16 reserved ; plcCalDevDebugRxFastCalStepParams_ts stepParams [ 10 ] ; } plgCalDevDebugGsmRxFastCalibStepInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 stepCount ; INT16 primeVal ; UINT16 debugMode ; UINT16 reserved ; plcCalDevDebugRxFastCalStepParams_ts stepData [ 100 ] ; } plgCalDevDebugGsmRxFastCalibrationInputData_ts; //ICAT EXPORTED ENUM typedef enum // must not exceed UINT8 { CAL_DEV_SYNCH_PASS , CAL_DEV_FB_SEARCH_FAIL , CAL_DEV_FB_STAGE_FAIL , CAL_DEV_SB_STAGE_FAIL } plgCalDevGsmRxFastCalibrationCnfSynchState_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 afcCalibMultiplier ; UINT16 afcCalibDivisor ; UINT16 afcModelNomDac ; UINT16 reserved ; } plgCalDevGsmAfcDacCalibMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; // UINT16 plgArfcn_ts arfcn ; // UINT16 UINT16 numFrames ; UINT16 numTs ; UINT16 gainvalue [ 10 ] [ 6 ] ; // 6 TS *10 frames plgL1Rssi_ts rssiMeas [ 10 ] [ 6 ] ; // 6 TS *10 frames UINT16 } plcCalDevDebugRxFastCalMeasResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 syncState ; // plgCalDevGsmAfcDacCalibMeas_ts afcDacCalibMeas ; plcCalDevDebugRxFastCalMeasResult_ts rxMeasResult [ 100 ] ; } plgCalDevGsmRxFastCalibrationSequenceCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 syncState ; // plgCalDevGsmAfcDacCalibMeas_ts afcDacCalibMeas ; plcCalDevDebugRxFastCalMeasResult_ts rxMeasResult [ 100 ] ; } plgCalDevDebugGsmRxFastCalibrationOutputData_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 taskId ; UINT16 seqRepetition ; // Not used currently , should be zero ( how many times to repeat the sequence ) UINT16 seqRepInterval ; // Not used currently , should be zero ( number of frame periods to wait before next reptition ) UINT16 stepCount ; UINT16 debugMode ; UINT16 tsc [ 2 ] ; plgTxStepData_ts *txStepParams ; } plgCalDevGsmTxFastCalibrationSequenceReqOpt_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 taskId ; UINT16 stepCount ; UINT16 debugMode ; FastCalFbSyncPara_ts fbSyncPara ; plcCalDevDebugRxFastCalStepParams_ts *stepData ; } plgCalDevGsmRxFastCalibrationSequenceReqOpt_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT8 slotNumber ; plgSlotDefinition_ts slotDefinition ; } plgCalDevGsmSlotDefineReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; Bool validated ; } plgCalDevGsmSlotDefineCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT8 tsc ; plgFrameDefinition_ts frameDefinition ; } plgCalDevGsmFrameDefineReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; Bool validated ; } plgCalDevGsmFrameDefineCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT8 frameNumber ; INT16 timingAdvance ; INT16 txOnRisingAdvance ; INT16 rxOnRisingAdvance ; INT16 monitorAdvance ; } plgCalDevGsmFrameTimingReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmFrameTimingCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; plgBurstMode_te mode ; } plgCalDevGsmFrameUseReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgCalDevGsmFrameUseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; } plgDspTaskTestDspGetBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestDspGetBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; } plgDspTaskTestDspFreeBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestDspFreeBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 command ; UINT16 handle ; UINT16 length ; UINT16 payload [ 1024 ] ; } plgDspTaskTestDspCopyBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 command ; UINT16 handle ; UINT16 payload [ 1024 ] ; } plgDspTaskTestDspCopyBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; UINT16 length ; } plgDspTaskTestTdsAllocBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestTdsAllocBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; } plgDspTaskTestTdsFreeBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestTdsFreeBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 command ; UINT16 handle ; UINT16 length ; UINT16 payload [ 32 ] ; } plgDspTaskTestTdsCopyBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 handle ; UINT16 payload [ 32 ] ; } plgDspTaskTestTdsCopyBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; UINT16 length ; } plgDspTaskTestMcuAllocBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestMcuAllocBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 handle ; } plgDspTaskTestMcuFreeBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 handle ; } plgDspTaskTestMcuFreeBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 command ; UINT16 handle ; UINT16 length ; UINT16 payload [ 1024 ] ; } plgDspTaskTestMcuCopyBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 handle ; UINT16 payload [ 1024 ] ; } plgDspTaskTestMcuCopyBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 command ; UINT16 cfgType ; UINT16 length ; UINT16 payload [ 128 ] ; } plgDspTaskTestCfgCopyBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 cfgType ; UINT16 payload [ 128 ] ; } plgDspTaskTestCfgCopyBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 command ; UINT16 simBufType ; UINT16 length ; UINT16 payload [ 1024 ] ; } plgDspTaskTestSimCopyBufReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; UINT16 simBufType ; UINT16 payload [ 1024 ] ; } plgDspTaskTestSimCopyBufCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; UINT16 tid ; UINT16 tdsHandle ; UINT16 tdqQueueId ; /* Relative priority of task. */ UINT16 deltaTime ; /* Incremental time delay desired between * the last TCU event and the invocation * of this task. The delay is measured in * Qbits , values can be between 0 and * 65536 . */ } plgDspTaskTestDspRunTaskReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestDspRunTaskCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; } plgDspTaskTestDspResetReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestDspResetCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; } plgDspTaskTestIniTstHarnessReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestIniTstHarnessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; char lobFileName [ 256 ] ; } plgDspTaskTestRenameLobFileReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestRenameLobFileCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; plgTaskId_te taskId ; char plkSimFileName [ 256 ] ; } plgDspTaskTestRenamePlkSimFileReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 commandRef ; } plgDspTaskTestRenamePlkSimFileCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 operationId ; UINT16 Band ; UINT32 Arfcn ; signed short power ; UINT16 SlotNum ; UINT16 Reserved [ 32 ] ; } plgCalDevGsm_TRX_cmd_ts; typedef unsigned char Int8 ; typedef void ( *plgGmphUnitDataInd_t ) ( plgGmphUnitDataInd_ts* gmphUnitDataInd ) ; typedef void ( *plgGmphUlFxdAllocEndInd_t ) ( plgGmphUlFxdAllocEndInd_ts* gmphUlFxdAllocEndInd ) ; typedef void ( *plgGmphPtmEnterInd_t ) ( plgGmphPtmEnterInd_ts* gmphPtmEnterInd ) ; typedef void ( *plgGmphPtmExitInd_t ) ( plgGmphPtmExitInd_ts* gmphPtmExitInd ) ; typedef void ( *plgGmphIntMeasInd_t ) ( plgGmphIntMeasInd_ts* gmphIntMeasInd ) ; typedef void ( *plgGmphPtmMeasInd_t ) ( plgGmphPtmMeasInd_ts* gmphPtmMeasInd ) ; typedef void ( *plgGmphEngModeGprsEdgeLinkQualInd_t ) ( plgGmphEngModeGprsEdgeLinkQualInd_ts* gmphEngModeGprsEdgeLinkQualInd ) ; typedef void ( *plgGmphPccchConfigCnf_t ) ( plgGmphPccchConfigCnf_ts* gmphPccchConfigCnf ) ; typedef void ( *plgGmphPrachCnf_t ) ( plgGmphPrachCnf_ts* gmphPrachCnf ) ; typedef void ( *plgGmphUlSbConfigCnf_t ) ( plgGmphUlSbConfigCnf_ts* gmphUlSbConfigCnf ) ; typedef void ( *plgGmphDlSbConfigCnf_t ) ( plgGmphDlSbConfigCnf_ts* gmphDlSbConfigCnf ) ; typedef void ( *plgGmphDlTbfConfigCnf_t ) ( plgGmphDlTbfConfigCnf_ts* gmphDlTbfConfigCnf ) ; typedef void ( *plgGmphUlDynTbfConfigCnf_t ) ( plgGmphUlDynTbfConfigCnf_ts* gmphUlDynTbfConfigCnf ) ; typedef void ( *plgGmphDynTsReconfigCnf_t ) ( plgGmphDynTsReconfigCnf_ts* gmphDynTsReconfigCnf ) ; typedef void ( *plgGmphFxdTsReconfigCnf_t ) ( plgGmphFxdTsReconfigCnf_ts* gmphFxdTsReconfigCnf ) ; typedef void ( *plgGmphUlFxdTbfConfigCnf_t ) ( plgGmphUlFxdTbfConfigCnf_ts* gmphUlFxdTbfConfigCnf ) ; typedef void ( *plgGmphPktOpCtrlInd_t ) ( plgGmphPktOpCtrlInd_ts* gmphPktOpCtrlInd ) ; typedef void ( *plgGmphPdchReleaseCnf_t ) ( plgGmphPdchReleaseCnf_ts* gmphPdchReleaseCnf ) ; typedef void ( *plgGmphExtMeasCnf_t ) ( plgGmphExtMeasCnf_ts* gmphExtMeasCnf ) ; typedef void ( *plgGmphEprachCnf_t ) ( plgGmphEprachCnf_ts *gmphEprachCnf ) ; typedef void ( *plgGl1CipherDataCnf_t ) ( plgGl1CipherDataCnf_ts* gl1CipherDataCnf ) ; typedef void ( *plgGl1CipherFlushCnf_t ) ( void ) ; typedef void ( *plgMacTxPayloadReq_t ) ( plgL1MacTxPayload_ts *l1MacTxPayload ) ; typedef void ( *plgMacL1Sequencer_t ) ( UINT32 frameNumber , UINT8 sequenceNumber ) ; typedef Bool ( *plgMacRxRadioBlockInd_t ) ( plgRxPayloadBuffer_ts *rxBuffer , UINT8 *powerReduction ) ; typedef Bool ( *plgMacControlAckReq_t ) ( plgL1MacControlAck_ts *l1MacControlAck , UINT32 frameNumber ) ; typedef void ( *plgMacDlConfigReq_t ) ( plgMacDlConfig_ts *macDlConfig ) ; typedef void ( *plgMacUlConfigReq_t ) ( plgMacUlConfig_ts *macUlConfig , UINT16 blockCount ) ; typedef void ( *plgMacUlDlDsConfigReq_t ) ( void ) ; typedef void ( *plgMacDlStartInd_t ) ( void ) ; typedef UINT8 ( *plgMacRxGetLinkRxQualMeas_t ) ( void ) ; typedef Bool ( *plgMacRxGetEgprsTsBepLinkQualMeas_t ) ( plgEgprsBepLinkQualMeas_ts *pEgprsBepLinkQualMeas ) ; typedef void ( *plgMacUlStartInd_t ) ( void ) ; typedef void ( *plgMacDlFlushReq_t ) ( void ) ; typedef void ( *plgMacUlFlushReq_t ) ( void ) ; typedef void ( *plgMacUlSblockReq_t ) ( plgL1MacControlAck_ts *l1MacControlAck , UINT32 frameNumber ) ; typedef void ( *plgMacRxDecodeErrorInd_t ) ( UINT32 frameNumber ) ; typedef void ( *plgMacRemoveUlSblockReq_t ) ( UINT32 frameNumber ) ; typedef void ( *plgMacTxBlockInfoReq_t ) ( plgL1MacTxBlockInfo_ts *blockInfo ) ; typedef void ( *plgMacTxDataBlocksPurgedInd_t ) ( plgL1MacTxBlocksPurged_ts *blocksPurged ) ; typedef void ( *plgMacTxBlockSentInd_t ) ( UINT8 *content , plgCodingScheme_te cs ) ; typedef void ( *plgMacUlTimeslotAllocInd_t ) ( UINT8 ulTsAlloc ) ; typedef void ( *plgMacDlTimeslotAllocInd_t ) ( UINT8 dlTsAlloc ) ; typedef Bool ( *plgMacRxEgprsHeaderDecode_t ) ( plgEgprsRxHeaderPayloadBuffer_ts *rxHeaderPayload , plgEgprsRxDecodeInfo_ts *rxDecodeInf ) ; typedef void ( *plgMacRxEgprsDataBlockInd_t ) ( plgEgprsRxDataPayloadBuffer_ts *rxDataPayload , Bool outOfMemory ) ; typedef unsigned char Int8 ; typedef void ( *plgMphBcchMeasInd_t ) ( plgMphBcchMeasInd_ts* mphBcchMeasInd ) ; typedef void ( *plgMphBsicDecodeInd_t ) ( plgMphBsicDecodeInd_ts* mphBsicDecodeInd ) ; typedef void ( *plgMphUnitDataInd_t ) ( plgMphUnitDataInd_ts* mphUnitDataInd ) ; typedef void ( *plgMphDownlinkSignalFailInd_t ) ( plgMphDownlinkSignalFailInd_ts* mphDownlinkSignalFailInd ) ; typedef void ( *plgMphIdleNcellMeasInd_t ) ( plgMphIdleNcellMeasInd_ts* mphIdleNcellMeasInd ) ; typedef void ( *plgMphIdleScellMeasInd_t ) ( plgMphIdleScellMeasInd_ts* mphIdleScellMeasInd ) ; typedef void ( *plgMphHandoverStartInd_t ) ( plgMphHandoverStartInd_ts* mphHandoverStartInd ) ; typedef void ( *plgMphRadioLinkTimeoutInd_t ) ( plgMphRadioLinkTimeoutInd_ts* mphRadioLinkTimeoutInd ) ; typedef void ( *plgMphDedicatedMeasInd_t ) ( plgMphDedicatedMeasInd_ts* mphDedicatedMeasInd ) ; typedef void ( *plgMphEngModeDedSrvCellInfoInd_t ) ( plgMphEngModeDedSrvCellInfoInd_ts* mphEngModeDedSrvCellInfoInd ) ; typedef void ( *plgMphErrorInd_t ) ( plgMphErrorInd_ts* mphErrorInd ) ; typedef void ( *plgMphMonitorPlmnInd_t ) ( plgMphMonitorPlmnInd_ts *mphMonitorPlmnInd ) ; typedef void ( *plgMphMonitorPlmnCompleteInd_t ) ( void ) ; typedef void ( *plgMphCellLockCnf_t ) ( plgMphCellLockCnf_ts *mphCellLockCnf ) ; typedef void ( *plgMphBchConfigCnf_t ) ( plgMphBchConfigCnf_ts* mphBchConfigCnf ) ; typedef void ( *plgMphDsConfigCnf_t ) ( plgMphDsConfigCnf_ts* mphDsConfigCnf , Int8 simId ) ; typedef void ( *plgMphRandomAccessCnf_t ) ( plgMphRandomAccessCnf_ts* mphRandomAccessCnf ) ; typedef void ( *plgMphBsicDecodeCnf_t ) ( plgMphBsicDecodeCnf_ts* mphBsicDecodeCnf ) ; typedef void ( *plgMphImmAssignmentCnf_t ) ( plgMphImmAssignmentCnf_ts* mphImmAssignmentCnf ) ; typedef void ( *plgMphChanAssignmentCnf_t ) ( plgMphChanAssignmentCnf_ts* mphChanAssignmentCnf ) ; typedef void ( *plgMphChanAssignmentFailCnf_t ) ( void ) ; typedef void ( *plgMphCipherModeCnf_t ) ( void ) ; typedef void ( *plgMphFrequencyChangeCnf_t ) ( plgMphFrequencyChangeCnf_ts* mphFrequencyChangeCnf ) ; typedef void ( *plgMphChannelModeCnf_t ) ( void ) ; typedef void ( *plgMphHandoverCnf_t ) ( plgMphHandoverCnf_ts* mphHandoverCnf ) ; typedef void ( *plgMphHandoverFailCnf_t ) ( void ) ; typedef void ( *plgMphExtMeasurementCnf_t ) ( plgMphExtMeasurementCnf_ts* mphExtMeasurementCnf ) ; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ; typedef void ( *plgMphClassmarkCnf_t ) ( plgMphClassmarkCnf_ts *mphClassmarkCnf ) ; typedef void ( *plgGrrCbControlCnf_t ) ( Int8 simId ) ; typedef void ( *L1GsmCapabilityReportCnf_t ) ( pldL1GsmCapabilityReportCnf_ts *pldL1GsmCapabilityReportCnf ) ; typedef void ( *plgMphSetGsmCnf_t ) ( void ) ; typedef void ( *plgMphMonitorPlmnCnf_t ) ( plgMphMonitorPlmnCnf_ts *mphMonitorPlmnCnf ) ; typedef void ( *plgUmphHandoverToUtranCnf_t ) ( void ) ; typedef void ( *plgUmphHandoverToUtranFailCnf_t ) ( void ) ; typedef void ( *plgUmphHoldGsmCnf_t ) ( void ) ; typedef void ( *plgUmphRestoreGsmCnf_t ) ( void ) ; typedef void ( *plgUtranCellMeasInd_t ) ( plgUtranCellMeasInd_ts *umphCellMeasInd ) ; typedef void ( *plgUtranDetectedCellMeasInd_t ) ( interFreqCellMeasInd_ts *umphDetectedCellMeasInd ) ; typedef void ( *plgUtranRssiMeasInd_t ) ( freqScanInd_ts *umphRssiMeasInd ) ; typedef void ( *plgUtranBchDecodeInd_t ) ( plgUtranBchDecodeInd_ts *utranBchDecodeInd ) ; typedef void ( *plgUtranBchDecodeErrInd_t ) ( plgUtranBchDecodeErrInd_ts *utranBchDecodeErrInd ) ; typedef void ( *plgMphMultiBcchDecodeInd_t ) ( plgMphMultiBcchDecodeInd_ts* mphMultiBcchDecodeInd ) ; typedef void ( *plgPhConnectInd_t ) ( plgPhConnectInd_ts* phConnectInd ) ; typedef void ( *plgPhReadyToSendInd_t ) ( plgPhReadyToSendInd_ts* phReadyToSendInd ) ; typedef void ( *plgPhDataInd_t ) ( plgPhDataInd_ts* phDataInd ) ; typedef void ( *plgRtl1DownlinkDataInd_t ) ( plgRtl1DownlinkDataInd_ts *rtl1DownlinkDataInd ) ; typedef void ( *plgL1AlStatusInd_t ) ( plgL1AlStatusInd_ts *l1AlStatusInd ) ; typedef void ( *plgL1GSMInitialize_t ) ( void ) ; typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; typedef Int16 ShmInt16 ; typedef SignedInt16 SignedShmInt16 ; typedef Int16 ShmElementType ; typedef Int32 ShmAlignType ; typedef ShmInt16 BuffHandle ; typedef Int16 DspShmPtr ; typedef DspShmPtr MmacMsiAdsPtr ; //ICAT EXPORTED STRUCT typedef struct { ShmInt16 taskId ; /* Code => which DSP task to run. */ ShmInt16 tdsData ; /* Either an index to Task Data Structure */ } TcuTaskDef; //ICAT EXPORTED STRUCT typedef struct { ShmInt16 writeIndex ; /* Write index - 1 st clear pair in array. */ ShmInt16 writeDummy ; /* Dummy to allow 32 bit accesses without touching the readIndex */ ShmInt16 length ; /* number of entries */ ShmInt16 readIndex ; /* Read index - the pair about to be read by DSP */ TcuTaskDef entry [ 14 ] ; /* one task / data pair for each event */ } TcuTdqDef; //ICAT EXPORTED STRUCT typedef struct GraitHeaderTag { Int32 FrameNumber ; Int16 SlotNumber ; Int16 GraitARFCN ; Int16 rssi ; } GraitHeader_ts; //ICAT EXPORTED STRUCT typedef struct GraitSlotBufferTag { GraitHeader_ts Header ; Int32 slot_samples [ ( 156 ) *2 ] ; // the *2 is for 2 sps , the Int32 is for [ I , Q ] samples. } GraitSlotBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { ShmInt16 numSynths ; ShmInt16 status ; /* Status is the 2 nd variable. */ McuPtr synBuffer ; /* Also used to return Read-Back result. */ } RfInitTds; typedef ShmInt16 MmacActionId ; typedef ShmInt16 MmacActionPriority ; //ICAT EXPORTED ENUM typedef enum PdchStructureTag { PDCH_IS_GPRS = 0 , PDCH_IS_EDGE_GPRS = 1 } PdchStructure; //ICAT EXPORTED ENUM typedef enum LinkQualMeasModeTag { NO_LINK_QUAL_MEASUREMENTS = 0 , LINK_QUAL_INT_MEAS_ONLY = 1 , LINK_QUAL_BEP_MEAS_ONLY = 2 , LINK_QUAL_INT_AND_BEP_MEAS = 3 , LAST_LINK_QUAL_MEAS } LinkQualMeasMode; //ICAT EXPORTED ENUM typedef enum CodingSchemeTag { /* These values are used in the GRR encode module - DO NOT CHANGE THE VALUES */ CS_1 = 0 , CS_2 = 1 , CS_3 = 2 , CS_4 = 3 , CS_RACH_8 = 4 , CS_RACH_11 = 5 , MCS_1 = 6 , MCS_2 = 7 , MCS_3 = 8 , MCS_4 = 9 , MCS_5 = 10 , MCS_6 = 11 , MCS_7 = 12 , MCS_8 = 13 , MCS_9 = 14 , MCS_5_7 = 15 , MCS_6_9 = 16 , /* endif UPGRADE_EDGE */ NUM_CODING_SCHEMES , INVALID_CODING_SCHEME = 0xFF } CodingScheme; //ICAT EXPORTED ENUM typedef enum PuncturingSchemeTag { PS_1 = 0 , PS_2 , PS_3 , NUM_EGPRS_PUNCTURING_SCHEMES , INVALID_PUNCTURING_SCHEME = 0xFF } PuncturingScheme; //ICAT EXPORTED ENUM typedef enum MessageTypeTag { /* * GPRS encode and decode utils assume that values of this enum * match the values of the 6 -bit MESSAGE_TYPE field as defined in * 44.060000 v7.9.0 11.200000 .0.1 */ PACKET_ACCESS_REJECT = 0x21 , /* 10 1 */ PACKET_CELL_CHANGE_ORDER = 0x01 , /* 0 1 */ PACKET_DOWNLINK_ASSIGNMENT = 0x02 , /* 0 10 */ PACKET_MEASUREMENT_ORDER = 0x03 , /* 0 11 */ PACKET_PAGING_REQUEST = 0x22 , /* 10 10 */ PACKET_PDCH_RELEASE = 0x23 , /* 10 11 */ PACKET_POLLING_REQUEST = 0x04 , /* 0 100 */ PACKET_POWER_CONTROL_TIMING_ADVANCE = 0x05 , /* 0 101 */ PACKET_PRACH_PARAMETERS = 0x24 , /* 10 100 */ PACKET_QUEUEING_NOTIFICATION = 0x06 , /* 0 110 */ PACKET_TIMESLOT_RECONFIGURE = 0x07 , /* 0 111 */ PACKET_TBF_RELEASE = 0x08 , /* 0 1000 */ PACKET_UPLINK_ACK_NACK = 0x09 , /* 0 1001 */ PACKET_UPLINK_ASSIGNMENT = 0x0A , /* 0 1010 */ PACKET_CELL_CHANGE_CONTINUE = 0x0B , /* 0 1011 */ PACKET_NEIGHBOUR_CELL_DATA = 0x0C , /* 0 1100 */ PACKET_SERVING_CELL_DATA = 0x0D , /* 0 1101 */ PACKET_DBPSCH_ASSIGNMENT = 0x0E , /* 0 1110 */ MULTIPLE_TBF_DOWNLINK_ASSIGNMENT = 0x0F , /* 0 1111 */ MULTIPLE_TBF_UPLINK_ASSIGNMENT = 0x10 , /* 1 0 */ MULTIPLE_TBF_RECONFIGURE = 0x11 , /* 1 1 */ MBMS_MS_ID_ASSIGNMENT = 0x13 , /* 1 11 */ MBMS_ASSIGNMENT_NON_DISTRIBUTION = 0x14 , /* 1 100 */ PS_HANDOVER_COMMAND = 0x15 , /* 1 101 */ PACKET_PHYSICAL_INFORMATION = 0x16 , /* 1 110 */ DTM_HANDOVER_COMMAND = 0x17 , /* 1 111 */ PACKET_DOWNLINK_DUMMY_CONTROL_BLOCK = 0x25 , /* 10 101 */ PACKET_SYSTEM_INFORMATION_1 = 0x31 , /* 11 1 */ PACKET_SYSTEM_INFORMATION_2 = 0x32 , /* 11 10 */ PACKET_SYSTEM_INFORMATION_3 = 0x33 , /* 11 11 */ PACKET_SYSTEM_INFORMATION_3BIS = 0x34 , /* 11 100 */ PACKET_SYSTEM_INFORMATION_4 = 0x35 , /* 11 101 */ PACKET_SYSTEM_INFORMATION_5 = 0x36 , /* 11 110 */ PACKET_SYSTEM_INFORMATION_6 = 0x30 , /* 11 0 */ PACKET_SYSTEM_INFORMATION_7 = 0x38 , /* 11 1000 */ PACKET_SYSTEM_INFORMATION_8 = 0x39 , /* 11 1001 */ PACKET_SYSTEM_INFORMATION_13 = 0x37 , /* 11 111 */ PACKET_SYSTEM_INFORMATION_14 = 0x3A , /* 11 1010 */ PACKET_SYSTEM_INFORMATION_3TER = 0x3C , /* 11 1100 */ PACKET_SYSTEM_INFORMATION_3QUA = 0x3D , /* 11 1101 */ PACKET_SYSTEM_INFORMATION_15 = 0x3E , /* 11 1110 */ PACKET_SYSTEM_INFORMATION_16 = 0x28 , /* 10 1000 */ PACKET_SERVING_CELL_SI = 0x20 , /* 10 0 */ PACKET_CS_COMMAND = 0x27 , /* 10 111 */ PACKET_CS_RELEASE_INDICATION = 0x29 , /* 10 1001 */ MBMS_ASSIGNMENT = 0x2a , /* 10 1010 */ MBMS_NEIGHBOURING_CELL_INFORMATION = 0x2b , /* 10 1011 */ PACKET_MBMS_ANNOUNCEMENT = 0x2c , /* 10 1100 */ PACKET_UNKNOWN_MESSAGE = 0xFF } DownlinkMessageType; //ICAT EXPORTED ENUM typedef enum MacCtrlAckPriorityTag { MAC_CTRL_ACK_HIGH_PRI , MAC_CTRL_ACK_LOW_PRI , MAC_CTRL_ACK_NUM_PRI } MacCtrlAckPriority; typedef union dspBuffersTag { L1DspBuffers *l1DspBuffers_p ; L1DspTtBuffers *l1DspTtBuffers_p ; } dspBuffersPtrUnion ; typedef unsigned int size_t ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef unsigned long Int32 ; typedef void ( *pldResetCnf_t ) ( void ) ; typedef void ( *pldInitCnf_t ) ( void ) ; typedef unsigned char BOOL ; typedef signed short SignedInt16 ; typedef UINT32 INTC_InterruptInfo ; typedef void ( *audioGsmResume_t ) ( void ) ; typedef void ( *audioGsmTestStart_t ) ( void ) ; typedef void ( *audioGsmTestStop_t ) ( void ) ; typedef void ( *audioGsmSuspend_t ) ( void ) ; typedef UINT8 plmRssiScanRat_te ; typedef Int16 L1RssiScore ; //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_dsds_lgi_stub.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_dsds_lgi_stub.c //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_dsds_lwi_stub.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_dsds_lwi_stub.c //PPC Version : V2.1.9.30 //PPL Source File Name : X:\tavor\Arbel\obj_PMD2NONE\prepass_results\l1a_irat_stub.ppp //PPL Source File Name : W:\\ltel1a\\LTEL1A\\Src\\l1a_irat_stub.c typedef unsigned char Char ; typedef unsigned char Int8 ; typedef signed char SignedInt8 ; typedef unsigned short Int16 ; typedef signed short SignedInt16 ; typedef unsigned long Int32 ; typedef signed long SignedInt32 ; typedef Int8 Boolean ; typedef SignedInt8 TP_SInt8 ; typedef SignedInt16 TP_SInt16 ; typedef SignedInt32 TP_SInt32 ; typedef Int8 TP_UInt8 ; typedef Int16 TP_UInt16 ; typedef Int32 TP_UInt32 ; typedef Boolean TP_Boolean ; typedef char * TP_String ; typedef char TP_Char ; typedef TP_UInt16 TP_WChar ; typedef TP_WChar TP_TChar ; typedef union SysBasicTypesUnionTag { Int8 int8Member ; SignedInt8 signedInt8Member ; Int16 int16Member ; SignedInt16 signedInt16Member ; Int32 int32Member ; SignedInt32 signedInt32Member ; Boolean booleanMember ; void *pointerMember ; TP_SInt8 tp_SInt8Member ; TP_SInt16 tp_SInt16Member ; TP_SInt32 tp_SInt32Member ; TP_UInt8 tp_UInt8Member ; TP_UInt16 tp_UInt16Member ; TP_UInt32 tp_UInt32Member ; TP_Boolean tp_BooleanMember ; TP_String tp_StringMember ; TP_Char tp_CharMember ; TP_WChar tp_WCharMember ; TP_TChar tp_TCharMember ; } SysBasicTypesUnion ; typedef unsigned char BOOL ; typedef unsigned char UINT8 ; typedef unsigned short UINT16 ; typedef unsigned long UINT32 ; typedef char CHAR ; typedef signed char INT8 ; typedef signed short INT16 ; typedef signed long INT32 ; typedef unsigned char Bool ; typedef UINT8 BYTE ; typedef UINT8 UBYTE ; typedef UINT16 UWORD ; typedef UINT16 WORD ; typedef INT16 SWORD ; typedef UINT32 DWORD ; typedef unsigned long long UINT64 ; typedef void* VOID_PTR ; typedef volatile UINT8 *V_UINT8_PTR ; typedef volatile UINT16 *V_UINT16_PTR ; typedef volatile UINT32 *V_UINT32_PTR ; typedef unsigned int U32Bits ; typedef BOOL BOOLEAN ; typedef const char * SwVersion ; typedef void ( *TIMER_CALLBACK_FUNCTION ) ( UINT8 ) ; typedef void ( *ACC_TIMER_CALLBACK ) ( UINT32 ) ; typedef int TIMER_STATUS ; typedef int TIMER_ID ; typedef unsigned long long Ulong64 ; //ICAT EXPORTED STRUCT typedef struct { UINT16 lineNo ; // CONST char idString [ 14 ] ; // CONST = 16 bytes UINT32 timeStamp ; // var UINT32 param1 ; // var UINT32 param2 ; // var UINT32 param3 ; // var } BspLogRecord; //ICAT EXPORTED ENUM typedef enum TaskIdTag /* tasks sent to identified by their task ids */ { /* @ENUM_DESC@ TBD */ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kisystsk.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : System task definitions **************************************************************************/ /* ** This file deiberately does not have a ** #if !defined KISYSTSK_H ** as it can be legitimately included twice ** ** This must never be included directly by any file outside of the kernel. */ KI_TASK_SET_START_0 = ( 0 << ( 8 ) ) , /******************************************************************************* ** External Client task Set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / extask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : External GKI Task definitions **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ PS_L2_TOOL_TASK_ID , /* ** Create aliases for any task id handled by a GKI task. */ START_EX_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EX_ALIASES = START_EX_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_0 , KI_TASK_SET_START_1 = ( 1 << ( 8 ) ) , /******************************************************************************* ** External Silicon Client task set , not for TTPCom use *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / platforms / hermon / sys / gki.typ / api / cfg / exstask.h#1 $ * $Revision: #1 $ * $DateTime: 2007 / 1 / 12 13 :10:41 $ ************************************************************************** * File Description : * Task Definitions for the Hermon Silicon Platform **************************************************************************/ /* ** Add ids for any tasks external to the TTPCom Product. ** ( the format is as in the comment below. ) */ /* ** Modifiers to TTPCom CORE task stack sizes ** The values here are ADDED to the CORE stack ** size defined in the ??task.h file */ // The SimDriver is using the sprintf ( ) which requires min 256 bytes on stack /* ** Modifiers to TTPCom CORE task queue lengths ** The values here are ADDED to the CORE queue ** size defined in the ??task.h file */ /* Modifiers to TTPCom CORE task priorities ** The values here REPLACE the CORE task ** priorities defined in the ??task.h file */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** Example task specification ** ** Task Id Queue Id Entry Point Stack Queue Priority ** KI_TASK_DEF ( SIM_TASK_ID , SIM_QUEUE_ID , SimManagerTask , 1024 , 30 , 8 ) ** */ /* to reserve a dummy SAC task id to avoid the first SAC related task id has the same number as START_AL_ALIASES */ SAC_DUMMY_TASK_ID , SAC_RESERVED_TASK_ID , /* SAC_TEST_TASK definition */ SAC_TEST_TASK_ID , /* SAC_OSA_TASK definition */ SAC_OSA_TASK_ID , INTEL_NON_GKI_TASK_ID , /* Psudeo Intel task */ HA_COMMS_TASK_ID , /* Map HAW and AMR tasks to the UP_PHY_TASK_ID on Hermon */ /* ** Create aliases for any task id handled by a GKI task. */ START_EXS_ALIASES , /* ** Example alias definition ** ** Real Task Id Alias Task Id Alias Queue Id ** KI_ALIAS_DEF ( AL_TASK_ID , ALSM_TASK_ID , ALSM_QUEUE_ID ) ** ** WARNING: When using aliases the value in the enumeration must be stored ** first ( using the KI_START_ALIAS macro ) and then re-instated after ** ( using the KI_END_ALIAS macro ) the alias definition. See ** kisystsk.h as an example. ** */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** Add external aliases here ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ STOP_EXS_ALIASES = START_EXS_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_1 , KI_TASK_SET_START_2 = ( 2 << ( 8 ) ) , /******************************************************************************* ** GKI / System Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / kitask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : GKI / System task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TIMER_TASK_ID , TEST_TASK_ID , EMMI_LOW_PRI_TASK_ID , EMMI_HIGH_PRI_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_2 , KI_TASK_SET_START_3 = ( 3 << ( 8 ) ) , /******************************************************************************* ** Layer 1 Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / l1task.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Layer 1 task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ LOW_PRIORITY_TASK_ID , L1_PROF_TASK_ID , /* CQ00100336 - Begin */ // 3 G L1C /* CQ00100336 - End */ MINI_LOGGER_TASK_ID , ML_SIGNAL_DUMPER_TASK_ID , MIPS_MANAGER_TASK_ID , L1_VCXO_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_3 , KI_TASK_SET_START_4 = ( 4 << ( 8 ) ) , /******************************************************************************* ** Device Management Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / dmtask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Device Management task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ L1_SD_TASK_ID , // KI_TASK_DEF ( L1_AL_TASK_ID , L1_AL_QUEUE_ID , L1AlTask , 4094 , 30 , 51 ) // CQ00136121 /* Redundant task - may be reused */ L1_BM_TASK_ID , /* Redundant task - may be reused */ L1_SP_TASK_ID , L1_CTM_TASK_ID , // KI_TASK_DEF ( DM_TASK_ID , DM_QUEUE_ID , DmTask , 1024 , 30 , 51 ) DTF_STIMULATE_TASK_ID , DTF_SIMULATE_TASK_ID , DTF_SELF_TEST_TASK_ID , DM_NVM_TASK_ID , DM_BM_TASK_ID , DM_RTC_TASK_ID , /* Use NVRAM task unless explicitly removed */ DM_NVP_TASK_ID , // CQ00146716 change 80 to 81 fo #91812 by yuling USB_TASK_ID , IRDA_TASK_ID , IRDA_STACK_TASK_ID , IRDA_FRAMER_TASK_ID , OBEX_TASK_ID , OBEX_TEST_TASK_ID , /* A task priority of 9 is chosen as priority range 0 -9 are reserved for interrupt launched * tasks such as L1_AL_HI_TASK_ID. This task is triggered by the L1 frame interrupt and * provides a periodic tick to the L1AL layer. */ /* L1_AL_HI_TASK stack max usage measured at 660 on 430 gpdev build 2005 _June_08. Allow some * extra to support use of printf & other debugging => size=800 */ // KI_TASK_DEF ( L1_AL_HI_TASK_ID , L1_AL_HI_QUEUE_ID , L1AlHiTask , 800 , 1 , 16 ) // CQ00136121 SIM_IF_CHECK_TASK_ID , /* include as part of Camera Multiplex layer Test Task */ CATT_TASK_ID , MP_SERIALPORT_DRV_TASK_ID , /* This is the USB EMMI task */ USB_EMMI_COMMS_TASK_ID , TAC_TASK_ID , START_DM_ALIASES , SIMDRV_TASK_ID = L1_SD_TASK_ID , HAD_L1_SD_TASK_ID = L1_SD_TASK_ID , // KI_ALIAS_DEF ( L1_AL_TASK_ID , L1AM_TASK_ID , L1AM_QUEUE_ID ) // CQ00136121 STOP_DM_ALIASES = START_DM_ALIASES - 1 , /* END OF FILE */ KI_TASK_SET_STOP_4 , KI_TASK_SET_START_5 = ( 5 << ( 8 ) ) , /******************************************************************************* ** Protocol Stack Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / pstask.h#6 $ * $Revision: #6 $ * $DateTime: 2007 / 3 / 19 13 :59:30 $ ************************************************************************** * File Description : Protocol Stack task definitions **************************************************************************/ /* ** This file deliberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ NAS_STUB_TASK_ID , L2_BCH_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ L2_BCH_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ L2_DD_TASK_ID , L2_CBCH_TASK_ID , L2_SACCH_0_TASK_ID , L2_SACCH_3_TASK_ID , L2_DCCH_0_TASK_ID , L2_DCCH_3_TASK_ID , GRR_TASK_ID , GRR_2_TASK_ID , CB_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , begin*/ MM_TASK_ID , /*Modifed size to 5000 by Fengzhuan , CQ00023736 , 20121029 , end*/ /*CQ00146133 , Cgliu , 2023 -09-27 , Begin*/ SIM_TASK_ID , /*CQ00146133 , Cgliu , 2023 -09-27 , End */ TIM_TASK_ID , // CQ00146716 // change from 55 to 81 , stack from 360 t0 1300 20231012 by yuling SMTL_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMCM_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ /*Modified by perse for CQ00111012 20180625 , end*/ SMRL_TASK_ID , START_PS_AS_ALIASES , STOP_PS_AS_ALIASES = START_PS_AS_ALIASES - 1 , START_PS_NAS_ALIASES , GP_GMM_TASK_ID = MM_TASK_ID , GP_SMS_TASK_ID = SMCM_TASK_ID , /* To bottom SMS */ STOP_PS_NAS_ALIASES = START_PS_NAS_ALIASES - 1 , TASK_EXTRA14_ID , /*CQ00119446 add begin*/ VG_CI_TASK_ID , /*Cat0 20160615 transient*/ // KI_ALIAS_DEF ( UNKNOWNS_TASK_ID , VG_RTFDP_TASK_ID , VG_RTFDP_QUEUE_ID ) VG_RTFDP_TASK_ID , PCCI_STUB_TASK_ID , MODEM_TASK_ID , ATPARSER_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ ATPARSER_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ VG_MUX_TASK_ID , VG_MUX1_TASK_ID , // MR VG_MUX_NULL_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_NULL_NOPL_TASK_ID , VG_MUX_NULL_NOPL_QUEUE_ID , VgMux1NoPLTask , 1000 , 30 , 55 ) VG_MUX2_TASK_ID , VG_MUX_USBNULL_TASK_ID , /* Reduce impact on TaskID ' s next time MUX tasks have to be added */ VG_MUX_SPARE1 , VG_MUX_GSM710S_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ VG_MUX_GSM710S_1_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ START_MUX_ALIASES , VG_MUX_NULL_TASK_ID = VG_MUX1_TASK_ID , VG_DS_TASK_ID = VG_CI_TASK_ID , STOP_MUX_ALIASES = START_MUX_ALIASES - 1 , CSR_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ CSR_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_MAC_TASK_ID , /*Modified by perse for CQ00111012 20180625 , begin*/ GP_MAC_2_TASK_ID , /*Modified by perse for CQ00111012 20180625 , end*/ GP_RD_TASK_ID , GP_LLC_TASK_ID , // KI_TASK_DEF ( GP_SNDCP_TASK_ID , GP_SNDCP_QUEUE_ID , / *GpSndcpTask* / UpUlbgTask , 900 , 1000 , 62 ) // TODO: This is a workaround!!! UP_DLBG_TASK_ID , GP_SM_TASK_ID , /* Modified by Daniel for CQ00018823 20120605 , begin */ GP_PPP_TASK_ID , // KI_TASK_DEF ( GP_PPP_TASK_ID , GP_PPP_QUEUE_ID , GpPppTask , 2000 , 272 , 65 ) /* Modified by Daniel for CQ00018823 20120605 , end */ UT_TMM_TASK_ID , /* Only used for unit testing - reserved here to keep task IDs the same */ GP_UNITTEST_TASK_ID , /* Only used for simulation testing - reserved here to keep task IDs the same */ GP_AUXRD_TASK_ID , GP_AUXLLC_TASK_ID , GP_AUXSNDCP_TASK_ID , GP_PPP_DIALLER_TASK_ID , GP_DS_DIALLER_TASK_ID , GP_PPP_PC_COMMS_TASK_ID , GP_PPP_PC_COMMS_DIALLER_TASK_ID , // 20100506 hlhu: add for lte psas start LTE_L1A_TASK_ID , // CQ64122 LTE_RRC_TASK_ID , // KI_TASK_DEF ( LTE_L1_SIMU_TASK_ID , LTE_L1_SIMU_QUEUE_ID , tLteL1SimulatorTask , 5000 , 30 , 29 ) LTE_MACRLC_TASK_ID , // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #if defined ( UPGRADE_DSDS ) // KI_TASK_DEF ( LTE_MACRLC_2_TASK_ID , LTE_MACRLC_2_QUEUE_ID , tLteMacRlcTask2 , 5000 , 600 , 30 ) // #endif PLMS_TASK_ID , // #ifdef LTE_TARGET_TEST_MCU_ONLY // added by jcweng to process the signals from Anite / TTCN2C side LTE_ANITE_ADAPOTR_TASK_ID , // 20100506 hlhu: add for lte psas end START_UPS_ALIASES , UP_BMC_TASK_ID = CB_TASK_ID , UP_PDCP_TASK_ID = LTE_MACRLC_TASK_ID , UP_RABM_TASK_ID = LTE_MACRLC_TASK_ID , UP_ULBG_TASK_ID = LTE_MACRLC_TASK_ID , // KI_ALIAS_DEF ( LTE_MACRLC_TASK_2_ID , UP_ULBG_2_TASK_ID , UP_ULBG_2_QUEUE_ID ) // KI_ALIAS_DEF ( GP_SNDCP_TASK_ID , UP_ULBG_TASK_ID , UP_ULBG_QUEUE_ID ) // TODO: remove GP_SNDCP_TASK_ID = LTE_MACRLC_TASK_ID , STOP_UPS_ALIASES = START_UPS_ALIASES - 1 , TASK_BL_ID , // change queue 30 by aliOS TASK_ANRM2_ID_DUMMY , /*Modified by perse for CQ00111012 20180625 , begin*/ TASK_ANRM2_ID_2_DUMMY , /*Modified by perse for CQ00111012 20180625 , end*/ START_USE_ANRM2 , TASK_ANRM2_ID = DM_NVM_TASK_ID , STOP_USE_ANRM2 = START_USE_ANRM2 - 1 , VG_MUX_IP_TRAN_TASK_ID , /* Streaming tasks */ SNTP_TASK_ID , RTP_TASK_ID , RTSP_TASK_ID , RTP_RTSP_TEST_TASK_ID , TASK_FS_ID , POC_TASK_ID , SIP_TASK_ID , VG_GMX_NULL_TASK_ID , VG_MUX_GSM710E_TASK_ID , VG_MUX_GSM710E_NOPL_TASK_ID , // KI_TASK_DEF ( VG_MUX_GSM710E_NOPL_TASK_ID , VG_MUX_GSM710E_NOPL_QUEUE_ID , VgMux710eNoPLTask , 615 , 30 , 55 ) VG_MUX_GSM710SM_TASK_ID , // redefine pdcp task id // 2017 -09-26 , WQS , move TTCN PC Test related tasks to the end for correct display in CATStudio /* END OF FILE */ KI_TASK_SET_STOP_5 , KI_TASK_SET_START_6 = ( 6 << ( 8 ) ) , /******************************************************************************* ** Application Layer Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / aftask.h#5 $ * $Revision: #5 $ * $DateTime: 2007 / 3 / 30 13 :53:25 $ ************************************************************************** * File Description : Application Foreground task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ TCPIP_TASK_ID , BLIP_TASK_ID , LPPP_TASK_ID , WPPP_TASK_ID , /* Application Layer */ AAUD_TASK_ID , /*remove 20220927 CQ00139071 begin*/ /*remove 20220927 CQ00139071 end*/ TASK_DISH_ID , TASK_EXTRA2_ID , /* 20163 removed AEIT task */ TASK_NOT_USED_ID , TASK_ATCV_MAILER_ID , TASK_AL_TEST_ID , TASK_AL_SCRIPT_ID , TASK_AL_TEST2_ID , SIMAT_TASK_ID , TASK_EXTRA4_ID , TASK_EXTRA5_ID , /* WAP Tasks */ TASK_EXTRA6_ID , TASK_EXTRA7_ID , TASK_EXTRA8_ID , TASK_EXTRA9_ID , MMI_TEST_TASK_ID , TASK_EXTRA10_ID , TASK_EXTRA11_ID , TASK_EXTRA12_ID , TASK_EXTRA13_ID , TASK_EXTRA15_ID , TASK_EXTRA16_ID , START_AB_ALIASES , ALSH_TASK_ID = TASK_BL_ID , AL_TASK_ID = TASK_BL_ID , GP_ABGP_TASK_ID = TASK_BL_ID , STOP_AB_ALIASES = START_AB_ALIASES - 1 , /* Absorb task receives signals and deletes them. Useful when a destination task is needed for IND and CNF signals. */ ABSORB_TASK_ID , TASK_EXTRA17_ID , TASK_EXTRA18_ID , TASK_EXTRA19_ID , TASK_EXTRA20_ID , TASK_EXTRA21_ID , TASK_EXTRA22_ID , FM_TASK_ID , TASK_EXTRA23_ID , SOCKTEST_TASK_ID , /* Transport Task */ TRANSPORT_TASK_ID , AP_BG_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_6 , KI_TASK_SET_START_7 = ( 7 << ( 8 ) ) , /******************************************************************************* ** Mapal Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2006 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mptask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Mapal task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ MAPAL_TASK_ID , MAPAL_DRIVERS_TASK_ID , MP_RESERVED0_TASK_ID , MP_RESERVED1_TASK_ID , MAPAL_SPAL_HF_TASK_ID , MP_RESERVED2_TASK_ID , MP_RESERVED3_TASK_ID , MP_TESTING_TASK_ID , MP_TARGET_DRIVER_TEST_TASK_ID , MP_PC_AUTOTEST_TASK_ID , MP_PC_BORG_AUTOTEST_TASK_ID , PC_DRIVER_DEBUG_TEST_TASK_ID , MAPAL_DPRAMHWFWD_TASK_ID , MAPAL_COMMS_TASK_ID , MAPAL_FWDTEST_TASK_ID , MAPAL_LOGGING_TASK_ID , MP_GKI_TEST_TASK_ID , MP_ASYNC_APP1_TASK_ID , MP_ASYNC_DRV1_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_7 , KI_TASK_SET_START_8 = ( 8 << ( 8 ) ) , /******************************************************************************* ** Bluetooth Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / bttask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Bluetooth task definitions **************************************************************************/ /* ** This file deiberately does not have a multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority */ BT_SCHEDULER_TASK_ID , BT_SCHEDULER_TEST_TASK_ID , BT_BG_TASK_ID , ABBT_AU_TASK_ID , RMT_SIM_TASK_ID , /* END OF FILE */ KI_TASK_SET_STOP_8 , KI_TASK_SET_START_9 = ( 9 << ( 8 ) ) , /******************************************************************************* ** Test Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / testtask.h#1 $ * $Revision: #1 $ * $DateTime: 2006 / 10 / 17 10 :20:49 $ ************************************************************************** * File Description : Protocol stack test task definitions **************************************************************************/ /* UPGRADE_COOLART should never be defined for a MS target build. * It is used exclusively for the testing of protocol stacks */ KI_TASK_SET_STOP_9 , KI_TASK_SET_START_10 = ( 10 << ( 8 ) ) , /******************************************************************************* ** Multimedia Set *******************************************************************************/ /*------------------------------------------------------------ ( C ) Copyright [ 2006 -2008 ] Marvell International Ltd. All Rights Reserved ------------------------------------------------------------*/ /************************************************************************** * TTPCom Software Copyright ( c ) 1997 -2005 TTPCom Ltd * Licensed to Marvell International Ltd ************************************************************************** * $Id: / / central / main / wsd / sys / gki.typ / api / cfg / mediatask.h#4 $ * $Revision: #4 $ * $DateTime: 2007 / 2 / 2 13 :54:44 $ ************************************************************************** * File Description : Multimedia task definitions **************************************************************************/ /* ** This file deliberately does not have multiple inclusion protection ** as it can be legitimately included twice. ** ** This must never be included directly by any file outside of the GKI. */ /* ** Priorities ( low number is high priority ) ** ** 0 to 9 Tasks which respresent work which is launched by an interrupt ** 10 to 39 High priority task e.g. Timer task ** 40 to 69 Medium priority task e.g. RR ** 70 to 99 Low priority task e.g. AL */ /* ** GKI Task ID , GKI Queue ID , Entry Point Stack , Queue , Priority , Stack Pool */ MMAC_TASK_ID , MMAC_HIGH_PRIORITY_TASK_ID , MF_PROCS0_TASK_ID , MF_PROCS1_TASK_ID , MF_RM_TASK_ID , MF_COMMS_TASK_ID , MEDIA_CONTROLLER_TASK_ID , MDS_CONTROL_TASK_ID , VIDEO_RENDER_TASK_ID , MES_CONTROL_TASK_ID , MES_CAPTURE_TASK_ID , CME_SM_SETUP_TASK_ID , CME_AUDIO_LOW_PRI_TASK_ID , MMCC_TASK_ID , AM_TASK_ID , AU_DDR_TASK_ID , MMSC_CONTROLLER_TASK_ID , AU_ROUTER_TASK_ID , KI_TASK_SET_STOP_10 , /* END OF FILE */ KI_TASK_ID_END , /* Task sets add one to the end of a set for the task set stop id , ** so need to subtract one to get the max id. */ KI_MAX_TASK_ID = KI_TASK_ID_END - 1 , UNKNOWN_TASK_ID = 0xFFFF , /* This is the task id used by PassThru tasks in Genie. ** Do not send signals from target entities to this task ** as it does not exist on the target. */ PASS_THRU_TASK_ID = 0 , UNKNOWN_TASK = UNKNOWN_TASK_ID /* Any new TaskId which is to be recognised by GENIE should end in the ** string " _ID " ; conversely , any value which is not to be displayed by ** GENIE should NOT end in this string. */ } TaskId , KiTaskId; typedef signed int ptrdiff_t ; typedef unsigned int size_t ; typedef unsigned short wchar_t ; typedef Int32 FrameTicks ; typedef Int32 KernelTicks ; typedef Int8 EmptySignal ; typedef Int8 SignalNotYetDefined ; typedef Int8 KiTimerIndex ; typedef Int16 KiTimerId ; typedef Int16 KiTimerUserValue ; //ICAT EXPORTED STRUCT typedef struct KiTimerTag { /** Timer duration. * This field defines the duration , in kernel ticks , for which the timer * is required to run. The GKI macros #SECONDS_TO_TICKS ( ) and * #MILLISECONDS_TO_TICKS ( ) convert between seconds or milliseconds and * number of kernel ticks. The macros will round up to the nearest tick. * The smallest unit of time is one system tick. For a system based on the * GSM frame rate this is 4.615000 ms ( the GSM TDMA frame period ) . */ FrameTicks timeoutPeriod ; /** Task to receive expiry signal. * This field specifies the task to which the timer expiry signal will be * sent. */ TaskId myTaskId ; /** Timer reference number. * This field contains a reference number allocated by the GKI which * uniquely identifies the instance of the timer. If the timer is stopped * and then started again , the new timerId value will be different. The * value is used to filter rogue timeout signals belonging to a previous * instance of the timer. The task receiving a timeout signal must compare * the timerId value in the timeout signal with the timerId value within * the local KiTimer structure. If they are different , the timeout signal * belongs to a previous instance of the timer that has already been * stopped. */ KiTimerId timerId ; /** Task specific data. * This field contains a reference number to allow a task to identify a * timer when using multiple timers. The GKI makes no use of this variable * except to include it in the timer expiry signal. */ KiTimerUserValue userValue ; } KiTimer; //ICAT EXPORTED ENUM typedef enum LlcFrameFormatTag { FRAME_I , FRAME_S , FRAME_UI , FRAME_U , FRAME_INVALID } LlcFrameFormat; //ICAT EXPORTED UNION : LlcFrameFormat typedef union ControlFieldTag { /* Four types of LLC frame formats: */ FormatI formatI ; /* I+S */ FormatS formatS ; FormatUI formatUI ; FormatU formatU ; } ControlField; //ICAT EXPORTED STRUCT typedef struct LlcHeaderTag { LlcFrameFormat format ; /* I+S , S , UI or U */ AddressField address ; ControlField control ; Int8 length ; /* LLC header length ( Address and Control fields ) */ FrameError error ; } LlcHeader; typedef Int16 Mnc ; typedef Int16 Mcc ; typedef Int16 AccessTechnologyId ; //ICAT EXPORTED STRUCT typedef struct PlmnTag { Mcc mcc ; /**< Mobile Country Code. */ /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ Mnc mnc ; /**< Mobile Network Code. */ /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number*/ AccessTechnologyId accessTechnology ; /**< Access Technology: GSM_ACCESS_TECHNOLOGY , UTRAN_ACCESS_TECHNOLOGY or GSM_COMPACT_ACCESS_TECHNOLOGY. */ /* @ITEM_DESC@ Access Technology ID. For coding see ETSI TS 131 102 . @ITEM_MODE@ ReadWrite @ITEM_UNIT@ bitmap @ITEM_DEPENDENCY@ ETSI TS 131 102 . */ } Plmn; //ICAT EXPORTED STRUCT typedef struct SimPlmnTag { /* @STRUCT_DESC@ PLMN with MNC length */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean mncThreeDigitsDecoding ; /**< Is three digit encoding used. */ /* @ITEM_DESC@ Is three digit encoding used @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ } SimPlmn; //ICAT EXPORTED ENUM typedef enum PlmnNameCodingSchemeTag { PLMN_CODING_DEFAULT , /**< Default coding scheme. */ PLMN_CODING_UCS2 /**< UCS2 coding scheme. */ } PlmnNameCodingScheme; //ICAT EXPORTED ENUM typedef enum FreqBandTag { FreqBand_dcs1800Band , FreqBand_pcs1900Band } FreqBand; typedef Int8 FullName [ ( ( 25 ) ) ] ; typedef Int8 AbbrName [ ( ( 11 ) ) ] ; typedef Int8 Initials [ ( 4 ) ] ; typedef Int8 FormatSpecifier [ ( 14 ) ] ; //ICAT EXPORTED STRUCT typedef struct PlmnNameTag { /* @STRUCT_DESC@ PLMN Name */ PlmnNameCodingScheme plmnCoding ; /**< Coding scheme for ' full ' , ' abbr ' & ' initials ' . */ /* @ITEM_DESC@ @ITEM_MODE@ ReadWrite @ITEM_UNIT@ See enum for values*/ FullName full ; /**< Full network name ( long ) . */ AbbrName abbr ; /**< Abbreviated network name ( short ) . */ Initials initials ; /**< Country initials. */ FormatSpecifier format ; /**< Format specifier. */ } PlmnName; //ICAT EXPORTED STRUCT typedef struct PlmnIdTag { /* @STRUCT_DESC@ PLMN ID */ Boolean present ; /**< Is present. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ Plmn plmn ; /**< PLMN. */ /* @ITEM_DESC@ PLMN @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ Boolean threeDigitMnc ; /**< Is the MNC three digit. */ /* @ITEM_DESC@ Is present @ITEM_MODE@ ReadWrite @ITEM_UNIT@ on / off ( 0 -not active , 1 -active ) */ PlmnName plmnName ; /**< PLMN Name. */ /* @ITEM_DESC@ PLMN Name @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } PlmnId; typedef Int16 Arfcn ; typedef Int16 ReducedFrameNumber ; typedef Int8 Bsic ; typedef Int8 Tsc ; typedef SignedInt32 Otd ; //ICAT EXPORTED ENUM typedef enum BandTag { GSM_BAND = 0 , DCS_BAND = 1 , PCS_BAND = 2 , EGSM_BAND = 3 , GSM_450_BAND = 4 , GSM_480_BAND = 5 , GSM_850_BAND = 6 , NUM_BANDS , /**< The number of bands supported by Layer 1 and RR */ /*2013.12.30 , mod by Xili for CQ00051491 , begin*/ /* used by SIMAT */ LTE_BAND = 0xFD , /*2013.12.30 , mod by Xili for CQ00051491 , end*/ /* used by MM */ UMTS_BAND = 0xFE , INVALID_BAND = 0xFF } Band; //ICAT EXPORTED ENUM typedef enum BandModeTag { /* @ENUM_DESC@ GSM Band Mode */ ZERO_BAND_MODE = 0x0000 , PGSM_MODE = 0x0001 , /**< Autoband enabled */ EGSM_MODE = ( 0x0001 + 0x0008 ) , /**< Autoband enabled */ DCS_MODE = 0x0002 , /**< Autoband enabled */ PGSM_DCS_MODE = 0x0001 + 0x0002 , /**< Autoband enabled */ EGSM_DCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 , /**< Autoband enabled */ PCS_MODE = 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE = 0x0001 + 0x0004 , /**< Autoband enabled */ EGSM_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0004 , /**< Autoband enabled */ PGSM_PCS_MODE_LOCK = 0x0001 + 0x0004 + 0x0200 , /**< LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0004 + 0x0200 , /**< LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ EGSM_DCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0200 , /**< LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ DCS_MODE_LOCK = 0x0002 + 0x0200 , /**< LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PCS_MODE_LOCK = 0x0004 + 0x0200 , /**< LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ EGSM_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0200 , /**< LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ GSM850_MODE = 0x0040 , /**< Autoband enabled */ GSM850_PCS_MODE = 0x0040 + 0x0004 , /**< Autoband enabled */ GSM850_PCS_MODE_LOCK = 0x0040 + 0x0004 + 0x0200 , /**< LOCK the MS to GSM850 / PCS1900 mode. */ GSM850_PCS_EGSM_DCS_MODE = 0x0040 + 0x0004 + EGSM_DCS_MODE , GSM850_PCS_DCS_MODE = 0x0040 + 0x0004 + 0x0002 , /* CQ00155045 Add */ GSM850_DCS_EGSM_MODE = 0x0040 + EGSM_DCS_MODE , /**< Autoband enabled */ GSM850_PCS_EGSM_MODE = 0x0040 + EGSM_PCS_MODE , /**< Autoband enabled */ GSM850_DCS_MODE = 0x0040 + 0x0002 , /**< Autoband enabled */ GSM850_MODE_LOCK = 0x0040 + 0x0200 , /**< LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ GSM850_DCS_MODE_LOCK = 0x0040 + 0x0002 + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_DCS_EGSM_MODE_LOCK = 0x0040 + EGSM_DCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ GSM850_PCS_EGSM_MODE_LOCK = 0x0040 + EGSM_PCS_MODE + 0x0200 , /**< LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ EGSM_DCS_PCS_MODE = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 , EGSM_DCS_PCS_MODE_LOCK = ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0200 , /* used by MM */ UMTS_MODE = 0x0100 , /* used by MM */ LTE_MODE = 0x0400 , QUAD_MODE = 0x0002 + 0x0004 + ( 0x0001 + 0x0008 ) + 0x0040 , QUAD_MODE_LOCK = QUAD_MODE + 0x0200 , /* This is used to verify value is within the allowed range. */ /* Note that the value should be updated if new bit is added.*/ ALL_BITS_BAND_MODE = 0x0200 + 0x0100 + 0x0080 + 0x0040 + ( 0x0010 + 0x0020 ) + ( 0x0001 + 0x0008 ) + 0x0002 + 0x0004 + 0x0400 , INVALID_BAND_MODE = 0xffff } BandMode; //ICAT EXPORTED ENUM typedef enum NetworkModeTag { /* @ENUM_DESC@ used in PLMN search to determine the networks to search */ NMODE_GSM , NMODE_UMTS , NMODE_LTE , NMODE_GSM_UMTS , NMODE_GSM_LTE , NMODE_UMTS_LTE , NMODE_GSM_UMTS_LTE , NMODE_NULL } NetworkMode; //ICAT EXPORTED ENUM typedef enum NetworkModeBitMaskTag { NW_MODE_NO_RATS = 0 , NW_MODE_BIT_GSM = 0x01 , NW_MODE_BIT_UMTS = 0x02 , NW_MODE_BIT_DUAL_RAT = NW_MODE_BIT_GSM | NW_MODE_BIT_UMTS , NW_MODE_BIT_LTE = 0x04 , NW_MODE_BIT_GSM_LTE = NW_MODE_BIT_GSM | NW_MODE_BIT_LTE , NW_MODE_BIT_UMTS_LTE = NW_MODE_BIT_UMTS | NW_MODE_BIT_LTE , NW_MODE_BIT_TRI_RAT = NW_MODE_BIT_DUAL_RAT | NW_MODE_BIT_LTE , NW_MODE_BIT_ALL_RATS = NW_MODE_BIT_TRI_RAT , NW_MODE_BIT_MAX } NetworkModeBitMask; //ICAT EXPORTED ENUM typedef enum UmtsWorkModeTag { UWMODE_TDD , UWMODE_FDD } UmtsWorkMode; //ICAT EXPORTED ENUM typedef enum LteOperateModeTag { PS_MODE_2 , CS_PS_MODE_1 , CS_PS_MODE_2 , PS_MODE_1 } LteOperateMode; //ICAT EXPORTED ENUM typedef enum LteUsageSettingTag { VOICE_CENTRIC , DATA_CENTRIC } LteUsageSetting; //ICAT EXPORTED ENUM typedef enum LteVoiceDomainPreferTag { CS_VOICE_ONLY , IMS_PS_VOICE_ONLY , CS_PS_VOICE_PREFER_IMS_PS_VOICE_SEC , IMS_PS_VOICE_PREFER_CS_VOICE_SEC } LteVoiceDomainPrefer; //ICAT EXPORTED ENUM typedef enum LteSmsDomainTag { SMS_OVER_IMS , SMS_OVER_SGS } LteSmsDomain; //ICAT EXPORTED ENUM typedef enum AccessBurstTypeTag { EIGHT_BIT_ACCESS_BURST = 0 , ELEVEN_BIT_ACCESS_BURST = 1 , ACCESS_BURST_NOT_DEFINED = 2 } AccessBurstType; typedef Int32 Tmsi ; typedef Int16 AccessClass ; typedef Int16 Lac ; typedef Int8 Rac ; typedef Int16 CellId ; typedef Int8 TmsiTime ; typedef Int16 Tac ; typedef Int32 MTmsi ; typedef Int16 MmeGroupId ; typedef Int8 MmeCode ; //ICAT EXPORTED STRUCT typedef struct TaiTag { Mcc mcc ; Mnc mnc ; Tac tac ; Int8 rawIe [ 5 ] ; } Tai; typedef Tai TrackingAreaIdentityElement ; //ICAT EXPORTED ENUM typedef enum PartialTaiListTypeTag { PARTIAL_TAI_LIST_TYPE_0 = 0 , /* Type of list = " 0 " */ PARTIAL_TAI_LIST_TYPE_1 = 1 , /* Type of list = " 1 " */ PARTIAL_TAI_LIST_TYPE_2 = 2 /* Type of list = " 10 " */ } PartialTaiListType; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_0Tag { Mcc mcc ; Mnc mnc ; Tac tac [ 16 ] ; } PartialTaiList_0; typedef PartialTaiList_0 PartialTaiList_1 ; //ICAT EXPORTED STRUCT typedef struct PartialTaiList_2Tag { Tai tai [ 16 ] ; } PartialTaiList_2; //ICAT EXPORTED UNION:PartialTaiListType typedef union TaiListUnionElementTag { PartialTaiList_0 taiListType_0 ; PartialTaiList_1 taiListType_1 ; PartialTaiList_2 taiListType_2 ; } TaiListUnion; //ICAT EXPORTED STRUCT typedef struct PartialTaiListElementTag { PartialTaiListType taiListType ; Int16 numOfElements ; /* 1 ~16 */ TaiListUnion taiListUnion ; } PartialTaiList; //ICAT EXPORTED STRUCT typedef struct TaiListElementTag { /* Refer to 9.900000 .3.33-24.301 */ Int16 numOfList ; /* Number of Partial tracking area identity list */ PartialTaiList partialTaiList [ 16 ] ; } TaiListElement; //ICAT EXPORTED STRUCT typedef struct GutiTag { Int8 guti [ 10 ] ; } Guti; //ICAT EXPORTED ENUM typedef enum TinTag { TIN_PTMSI , TIN_GUTI , TIN_RAT_RELATED_TMSI , TIN_DELETED } Tin; //ICAT EXPORTED ENUM typedef enum MsOperationModeTag { MS_OPERN_NORMAL = 0x00 , /* normal operation */ MS_OPERN_TA = 0x80 , /* type approval operation */ MS_OPERN_NORMAL_PLUS_SPECIFIC = 0x01 , /* normal + specific operation */ MS_OPERN_TA_PLUS_SPECIFIC = 0x81 , /* type approval + specific operation */ MS_OPERN_MAINTENANCE = 0x02 , /* maintenance operation */ MS_OPERN_CELL_TEST = 0x04 /* cell test operation */ } MsOperationMode; //ICAT EXPORTED ENUM typedef enum KeySequenceTag { KEY_SEQUENCE_0 = 0 , KEY_SEQUENCE_1 = 1 , KEY_SEQUENCE_2 = 2 , KEY_SEQUENCE_3 = 3 , KEY_SEQUENCE_4 = 4 , KEY_SEQUENCE_5 = 5 , KEY_SEQUENCE_6 = 6 , NO_KEY_SEQUENCE_AVAILABLE = 7 } KeySequence; //ICAT EXPORTED STRUCT typedef struct LocationAreaIdTag { Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Lac lac ; /* @ITEM_DESC@ Location area code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ code*/ Int8 rawIe [ 5 ] ; /* @ITEM_DESC@ Information as read on SI @ITEM_MODE@ ReadWrite @ITEM_UNIT@ */ } LocationAreaIdElement; typedef LocationAreaIdElement Lai ; typedef LocationAreaIdElement LocationAreaId ; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnTag { /* @STRUCT_DESC@ Equivalent PLMN */ Mcc mcc ; /* @ITEM_DESC@ Mobile Country Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ Mnc mnc ; /* @ITEM_DESC@ Mobile Network Code @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ } EquivalentPlmn; //ICAT EXPORTED STRUCT typedef struct EquivalentPlmnListTag { /* @STRUCT_DESC@ List of Equivalent PLMNs */ Int16 numPlmn ; /* @ITEM_DESC@ Number of PLMNs in the list @ITEM_MODE@ ReadWrite @ITEM_UNIT@ number */ EquivalentPlmn plmn [ 16 ] ; /* @ITEM_DESC@ Array of Equivalent PLMNs @ITEM_MODE@ ReadWrite @ITEM_UNIT@ see structure definition */ } EquivalentPlmnListElement; typedef EquivalentPlmnListElement EquivalentPlmnList ; //ICAT EXPORTED STRUCT typedef struct ChannelBitMapTag { Boolean valid ; Int8 channelData [ 128 ] ; } BaList; //ICAT EXPORTED ENUM typedef enum MmErrorCauseTag { MM_ERROR_UNEX_CAMP_REQ , MM_ERROR_UNEX_REG_REQ , MM_ERROR_UNEX_NREG_REQ , MM_ERROR_UNEX_PLMN_LIST_REQ , MM_ERROR_UNEX_PLMN_LIST_RRC_CONN_EXIST_REQ , MM_ERROR_UNEX_CAMP_REQ_IN_REG_PROC , MM_ERROR_SIM_PROBLEM } MmErrorCause; //ICAT EXPORTED ENUM typedef enum MmStateTag /* defined in 4.100000 .2.1.1 */ { /* GRR */ /* connection y / n */ M0_MM_NULL = 0 , /* n */ M3_WAIT_FOR_LOC_UPDATE_RESPONSE = 3 , /* y */ M5_WAIT_FOR_OUTGOING_MM_CONNECTION = 5 , /* y */ M6_MM_CONNECTION_ACTIVE = 6 , /* y */ M7_IMSI_DETACH_INITIATED = 7 , /* y */ M9_WAIT_FOR_NETWORK_COMMAND = 9 , /* y */ M10_LOCATION_UPDATE_REJECTED = 10 , /* y */ M13_RR_CONN_PENDING_LOC_UPDATING = 13 , /* n */ M14_RR_CONN_PENDING_MM_CONNECTION = 14 , /* n */ M15_RR_CONN_PENDING_IMSI_DETACH = 15 , /* n */ M17_WAIT_FOR_CM_REESTABLISH = 17 , /* n */ M18_WAIT_FOR_RR_ACTIVE = 18 , /* n */ M20_WAIT_FOR_ADDITIONAL_OUTGOING_MM_CONNECTION = 20 , /* y */ M23_LOCATION_UPDATE_PENDING = 23 , M24_IMSI_DETACH_PENDING = 24 , M19_MM_IDLE_NORMAL_SERVICE = 191 , /* state 19.100000 */ /* n */ M19_MM_IDLE_ATTEMPTING_TO_UPDATE = 192 , /* state 19.200000 */ /* n */ M19_MM_IDLE_LIMITED_SERVICE = 193 , /* state 19.300000 */ /* n */ M19_MM_IDLE_NO_IMSI = 194 , /* state 19.400000 */ /* n */ M19_MM_IDLE_NO_CELL_AVAILABLE = 195 , /* state 19.500000 */ /* n */ M19_MM_IDLE_LOC_UPDATE_NEEDED = 196 , /* state 19.600000 */ /* n */ M19_MM_IDLE_ECALL_INACTIVE = 197 , /* state 19.110000 */ /*added by xyma for CQ00100279 20150814 */ /* ** Other MM states are not implemented ; they are insufficient to ** describe behaviour. */ MM_NUM_STATES /* leave as last constant */ } MmState; //ICAT EXPORTED ENUM typedef enum UmmStateTag { UMM_DETACHED , UMM_IDLE , UMM_CONNECTED , NUM_UMM_STATES } UmmState; //ICAT EXPORTED ENUM typedef enum EmmEpsStateTag { EMM_DETACHED , EMM_IDLE , EMM_CONNECTED , EMM_IDLE_SUSPEND , // add by xyma for CQ00125818 2021.100000 .4 NUM_EMM_STATES } EmmEpsState; //ICAT EXPORTED ENUM typedef enum SRStateTag { S_START = 0 , S_SUCCESS , S_CANCEL , S_FAIL } SRState; //ICAT EXPORTED ENUM typedef enum EmmStateTag /* defined in 24301 5.100000 .3 */ { EMM_NULL = 0 , EMM_REGISTERED_INITIATED = 1 , EMM_DEREGISTERED_INITIATED = 2 , EMM_TRACKING_AREA_UPDATING_INITIATED = 3 , EMM_REGISTERED_NORMAL_SERVICE = 10 , EMM_REGISTERED_UPDATE_NEEDED = 12 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE = 13 , EMM_REGISTERED_NO_CELL_AVAILABLE = 14 , EMM_REGISTERED_LIMITED_SERVICE = 15 , EMM_REGISTERED_ATTEMPTING_TO_UPDATE_MM = 16 , EMM_DEREGISTERED_NORMAL_SERVICE = 20 , EMM_DEREGISTERED_LIMITED_SERVICE = 21 , EMM_DEREGISTERED_ATTACH_NEEDED = 22 , EMM_DEREGISTERED_ATTEMPTING_TO_ATTACH = 23 , EMM_DEREGISTERED_NO_IMSI = 24 , EMM_DEREGISTERED_NO_CELL_AVAILABLE = 25 , EMM_DEREGISTERED_PLMN_SEARCH = 27 , EMM_REGISTERED_IMSI_DETACH_INITIATED = 28 , EMM_SERVICE_REQUEST_INITIATED = 29 , EMM_NUM_STATES /* leave as last constant */ } EmmState; //ICAT EXPORTED ENUM typedef enum EmmSpecificProcedureTag { EPS_ONLY_ATTACH_PROC = 0 , EMM_COMBINED_ATTACH_PROC , EMM_PERIODIC_TA_PROC , EMM_NORMAL_TA_PROC , EMM_COMBINED_TA_PROC , EMM_COMBINED_TA_WITH_IMSI_PROC , EPS_ONLY_DETACH_PROC , EPS_IMSI_DETACH_PROC , EPS_ONLY_MT_DETACH , EPS_MT_DETACH_REATTACH , EMM_COMBINED_DETACH_PROC , EMM_CELL_UPDATE_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_TAU , EMM_WAIT_FOR_ESM_RESP_FOR_ATTACH , EMM_SERVICE_REQUEST_PROC , EMM_WAIT_FOR_ESM_RESP_FOR_PAGING , /* added by xyma for CQ00059052 , 2014.040000 .18 , begin*/ EPS_EMERGENCY_ATTACH_PROC , /* added by xyma for CQ00059052 , 2014.040000 .18 , end*/ NO_EMM_SPECIFIC_PROC } EmmSpecificProcedure; //ICAT EXPORTED ENUM typedef enum EmmCommonProcedureTag { EMM_EPS_AUTHEN_PROC = 0 , /* All the other EMM common procedures are single signal procedures so are not really needed here */ NO_EMM_COMMON_PROC } EmmCommonProcedure; //ICAT EXPORTED ENUM typedef enum EmmProcedureStatusTag { EMM_AWAITING_EXECUTION = 0 , EMM_EXECUTING , EMM_AWAITING_COMPLETION , EMM_NO_ACTIVE_PROC } EmmProcedureStatus; //ICAT EXPORTED STRUCT typedef struct EmmProcedureTag { EmmSpecificProcedure emmSpecificProc ; EmmCommonProcedure emmCommonProc ; EmmProcedureStatus emmSpecificProcStatus ; } EmmProcedure; //ICAT EXPORTED ENUM typedef enum EpsOptPreferModeTag { EPS_OPT_CP_ONLY , EPS_OPT_UP_ONLY , EPS_OPT_CP_PREFER , EPS_OPT_UP_PREFER , EPS_OPT_RESERVED = 0xFF } EpsOptPreferMode; //ICAT EXPORTED ENUM typedef enum CsrProcIdTag { CSR_NO_PROC , CSR_PROC_CSRR , CSR_PROC_CSRP , CSR_PROC_CSRS , CSR_PROC_CSRC // CQ00070469 add begin // CQ00070469 add end } CsrProcId; //ICAT EXPORTED ENUM typedef enum CsrcStateTag { CSRC_IDLE , CSRC_AWAIT_CPHY_FIND_CELL_CNF , CSRC_AWAIT_SYS_INFO , CSRC_AWAIT_CPHY_CELL_SELECT_CNF , CSRC_AWAIT_CPHY_NEXT_CELL_CNF , /* PTK_CQ00236868 begin */ CSRC_SEARCH_ABORTING_WAIT_L1_CNF /* PTK_CQ00236868 end */ } CsrcState; //ICAT EXPORTED ENUM typedef enum CsrrReselectorStateTag { CSRR_AWAIT_RESELECT_TO_UMTS_FAIL_CNF , CSRR_AWAIT_RESELECTION_TO_GSM , CSRR_SUSPENDED_DUE_TO_CCOFU , CSRR_IDLE , CSRR_AWAIT_MEASUREMENTS , CSRR_AWAIT_BCH_DECODING_CNF , CSRR_AWAIT_SYS_INFO , CSRR_AWAIT_L1_CAMPED_ON_CELL , CSRR_AWAIT_PHY_RESYNCH_TO_SERV_CELL , CSRR_RANKING_CSRP_ACTIVE , CSRR_ABORTING , CSRR_AWAIT_RESELECTION_TO_LTE , CSRR_AWAIT_DEACTIVATE_CNF } CsrrReselectorState; //ICAT EXPORTED ENUM typedef enum CsrpPlmsStateTag { CSRP_PLMS_NOT_SEARCHING , /* idle */ CSRP_PLMS_WAIT_PLMS_FREQ_SCAN , /* RSSI scan is done by PLMS task */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_ESTABLISH , /* Waiting for L1 to open BCH */ CSRP_PLMS_UMTS_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_UMTS_WAIT_FOR_BCH_RELEASE , /* Waiting for L1 to close BCH */ CSRP_PLMS_GSM_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_READING_SIBS , /* Reading BCCH info */ CSRP_PLMS_LTE_WAIT_FOR_BCH_RELEASE /* Waiting for L1 to close BCH */ } CsrpPlmsState; //ICAT EXPORTED ENUM typedef enum CsrpActiveStateTag { CSRP_STATE_NOT_SEARCHING , /* idle */ CSRP_STATE_ACTIVE , /* active */ CSRP_STATE_ABORTING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP abort */ CSRP_STATE_ABORTING_AWAIT_L1_CNF , /* Waiting for L1 CNF so abort can take place */ CSRP_STATE_SUSPENDING_AWAIT_PLMS , /* Waiting for PLMS to trigger CSRP suspend */ CSRP_STATE_SUSPENDING_AWAIT_L1_CNF , /* Waiting for L1 CNF so suspend can take place */ CSRP_STATE_SUSPENDED , /* PLMN search process is suspended */ CSRP_STATE_COMPLETING_AWAIT_L1_CNF /*Waiting for L1 to deactivate before completing search*/ } CsrpActiveState; //ICAT EXPORTED ENUM typedef enum CsrsSearchStatusTag { CSRS_NOT_SEARCHING , CSRS_SEARCH_WAIT_FOR_SCAN_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_CNF , CSRS_SEARCH_WAIT_FOR_SEARCH_BCH , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_CNF , CSRS_SEARCH_WAIT_FOR_CHECK_PLMN_REJ_BCH , CSRS_SEARCH_WAIT_PHY_DEACTIVATE_CNF , CSRS_SEARCH_ABORTING_WAIT_L1_CNF , CSRS_SEARCH_WAIT_FOR_PLMS , // search is ongoing in PLMS CSRS_SEARCH_WAIT_FB_BCH_CNF , // Wating for CphyFgBchCnf CSRS_SEARCH_WAIT_PLMS_ABORT , // Wating for PLMS to Abort the search CSRS_SEARCH_WAIT_FOR_IRAT_RESEL , // ICS started in another RAT waiting for reselection to URR CSRS_SEARCH_WAIT_HAW_INIT , CSRS_SEARCH_WAIT_FB_BCH_CNF_BEFORE_PLMS_ABORT // Wating for CphyFgBchCnf Before aborting PLMS } CsrsSearchStatus; //ICAT EXPORTED ENUM typedef enum UrrCSRExitCodesTag { // CSRC CSRC_CELL_SELECTION_FAILURE_OOS = 1 , CSRC_CELL_CAMPED_ON_SUITABLE_CELL , CSRC_CSRTU_FAILURE , CSRC_CSRTU_T3174_EXPIRY , CSRC_REDIRECTION_FAILED , /* PTK_CQ00236868 begin */ CSRC_ABORT_REQUEST , /* PTK_CQ00236868 end */ // CSRS CSRS_ABORT_REQUEST , CSRS_INITIAL_CELL_SELECTION_SUCCESS , CSRS_FAIL_TO_SELECT_ANY_CELL , // CSRR CSRR_ABORT_REQUEST , // CSRR_START_INTERNAL_PLMN_SEARCH , / * CQ00094524 * / CSRR_START_ICS_IDLE_OOS , CSRR_COMPLETE_RESELECTION , CSRR_OOS_DETECTED , CSRR_RESELECTION_REQUIRED , CSRR_ABORT_SUSPENDED_PLMN , CSRR_START_CSRR_PROC , // CSRP CSRP_START_CELL_RESELECTION , CSRP_ABORT_REQUEST , CSRP_ABORT_GSM_MODE_PLMN , CSRP_ABORT_LTE_MODE_PLMN , CSRP_SUSPENSION_COMPLETE , CSRP_FG_GSM_OOS_CONN_NON_DCH_COMPLETE // CQ00070469 add begin // CQ00070469 add end } UrrCSRExitCodes; //ICAT EXPORTED ENUM typedef enum UrrCerStateTag { CER_IDLE , CER_CONNECTING_WAIT_TX , CER_RETRYING_WAIT_TX , CER_WAIT_CONNECTION_SETUP , CER_WAIT_SETUP_COMPLETE_TX , CER_REJECTED_WAIT , CER_REJECTED_NEW_FREQ_WAIT_SELECTION , CER_REJECTED_SAME_FREQ_WAIT_SIBS , CER_REJECTED_DIFF_FREQ_WAIT_SIBS , CER_REJECTED_NEW_RAT_WAIT_SELECTION , CER_DISC_DCH_WAIT_TX , CER_DISC_FACH_WAIT_TX , CER_CONNECTED , CER_WAIT_IDT_TX_CONFIRM , CER_WAIT_RBC_PROCESS_RRC_CONN_SETUP , CER_WAIT_RACH_MEAS_RESULTS , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_FACH , CER_WAIT_RBC_PROCESS_RRC_CON_RELEASE_DCH , CER_DISC_DCH_WAIT_ALL_SIBS_DISTRIBUTED , CER_WAIT_CSR_PLMN_ABORT_CNF , CER_WAIT_CELL_UPDATE_OCCURRED , CER_WAIT_RBC_MOVE_TO_FACH } UrrCerState; typedef union KiStateMachinesStateTag { Int16 genState ; MmState MM_state ; EmmState EMM_state ; CsrProcId CSR_Active_Proc ; CsrcState CSRC_State ; CsrsSearchStatus CSRS_State ; CsrrReselectorState CSRR_State ; CsrpActiveState CSRP_State ; UrrCerState URR_CER_State ; } KiStateMachinesState ; typedef SignalNotYetDefined KiMemReadReq ; typedef SignalNotYetDefined KiMemReadCnf ; typedef SignalNotYetDefined KiMemWriteReq ; typedef SignalNotYetDefined KiMemWriteCnf ; typedef SignalNotYetDefined KiMemReadMultiReq ; typedef SignalNotYetDefined KiMemReadMultiCnf ; typedef SignalNotYetDefined KiMemWriteMultiReq ; typedef SignalNotYetDefined KiMemWriteMultiCnf ; typedef unsigned char Int8 ; typedef unsigned short Int16 ; typedef unsigned long Int32 ; typedef unsigned char Boolean ; typedef signed char SignedInt8 ; typedef signed short SignedInt16 ; typedef Int32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct L1ASimIdTag { Int8 simId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } L1ASimId; typedef Int16 ErrcArfcnGeranValue ; typedef Int16 ErrcArfcnUtraValue ; //ICAT EXPORTED ENUM typedef enum LteDeactiveCauseTag { LTE_NORMAL_DEACTIVE , LTE_POWER_OFF_DEACTIVE , LTE_SWITCH_RAT_DEACTIVE , LTE_IRAT_HO_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRATDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_CCO_FROM_GSM_TO_LTE_FAIL , // back to GSM , deactivate LTE L1 LTE_IRAT_CCO_FROM_LTE_TO_GSM_SUCCESS , // CCO to GSM successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_UTRATDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_GSM_TO_LTE_FAIL , // back to gsm , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRATDD_SUCCESS , LTE_IRAT_RESELECT_FROM_LTE_TO_GSM_SUCCESS , LTE_IRAT_REDIRECT_FROM_UTRATDD_TO_LTE_FAIL , LTE_IRAT_HO_FROM_UTRAFDD_TO_LTE_FAIL , // back to utratdd , deactivate LTE L1 LTE_IRAT_HO_FROM_LTE_TO_UTRAFDD_SUCCESS , // handover to utratdd successfully , deactivate LTE L1 LTE_IRAT_RESELECT_FROM_LTE_TO_UTRAFDD_SUCCESS , LTE_IRAT_RESELECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_IRAT_REDIRECT_FROM_UTRAFDD_TO_LTE_FAIL , LTE_HOT_RESET_TRIGGERING , // CQ47201 LTE_DEACTIVE_BY_PLMS , LTE_DEACTIVE_PSM = 0x20 , LTE_DEACTIVE_BY_EDRX , LTE_SWITCH_CAUSE_INVALID = 0x7FFFFFFF } LteDeactiveCause; //ICAT EXPORTED ENUM typedef enum ReqActionTypeTag { REQ_STOP = 0 , REQ_START = 1 , REQ_INVALID = 0x7FFFFFFF } ReqActionType; //ICAT EXPORTED ENUM typedef enum LtePagingUeIdentityTag { LTE_NULL_PAGING_ID , LTE_S_TMSI_PAGING_ID , LTE_IMSI_PAGING_ID , LTE_PAGING_UE_ID_INVALID = 0x7FFFFFFF } LtePagingUeIdentity; //ICAT EXPORTED ENUM typedef enum LteRrcL1ModeTag { LTE_RRC_L1_MODE_TDD = 0x02 , LTE_RRC_L1_MODE_FDD = 0x03 , LTE_RRC_L1_MODE_INVALID = 0x7FFFFFFF } LteRrcL1Mode; //ICAT EXPORTED ENUM typedef enum LteRrcL1ConfigTypeTag { LTE_INVALID_RRC_L1_CONFIG , // The IE is not initialized LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG , // The IE was setup and its value is not changed in this configuration LTE_NOTCHANGE_RELEASE_RRC_L1_CONFIG , // The IE was released and its value is not changed in this configuration LTE_SETUP_RRC_L1_CONFIG , // The IE ' s value is setup or configured LTE_RELEASE_RRC_L1_CONFIG , // The IE ' s value is released LTE_L1_CREATE_VALUE_CONFIG , // Used for NEED OP with absent flag only , only when the default value is maintained by L1 LTE_RRC_L1_CONFIG_TYPE_INVALID = 0x7FFFFFFF } LteRrcL1ConfigType; //ICAT EXPORTED ENUM typedef enum LteMeasScaleFactor_r12Tag { LteMeasScaleFactor_notConfig = 0 , // set to 0 if NW not config it or release it. LteMeasScaleFactor_cf1 , LteMeasScaleFactor_cf2 , LteMeasScaleFactor_Invalid = 0x7FFFFFFF } LteMeasScaleFactor_r12; //ICAT EXPORTED STRUCT typedef struct FreqExtendedR12Tag { Earfcn euArfcnExtR12 ; Boolean highPriorityFreqExtR12 ; // only valid for idle Boolean reducedMeasPerformace_R12 ; Int8 reserved0 ; Int8 reserved1 ; } FreqExtendedR12; //ICAT EXPORTED STRUCT typedef struct LteFreqInfo_R9Tag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Earfcn euUlArfcn ; // CQ00111620 change Int16 to Earfcn. } LteFreqInfo_R9; //ICAT EXPORTED STRUCT typedef struct LteFreqInfoTag { // Bandwidth , TD-LTE should neglect this parameter LteRrcL1ConfigType ulBandwidthConfigType ; // Absolute Radio Frequency Channel Number , value range:0~65535 LteRrcL1ConfigType euUlArfcnConfigType ; // dl-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmission ; Int8 reserved0 ; Int8 reserved1 ; Earfcn euUlArfcn ; /*CQ00107221 modify from Int32*/ } LteFreqInfo; //ICAT EXPORTED STRUCT typedef struct LtePreambleInfoTag { // Configuration type of configurtion of group A preambles LteRrcL1ConfigType preambleGroupAConfigType ; // Number of preamble used for random access , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 , 64 ) Int8 numberOfRaPreambles ; // Number of preamble allocated for group A , value range: ( 4 , 8 , 12 , 16 , 20 , 24 , 28 , 32 , 36 , 40 , 44 , 48 , 52 , 56 , 60 ) , // valid only when preambleGroupAPresent is true Int8 sizeofRaPreamblesGroupA ; // Message 3 length for using preamble in groupe A , value range ( 56 , 144 , 208 , 256 ) , valid only when preambleGroupAPresent is true Int16 messageSizeGroupA ; // Power offset for message using group B preambles , value range ( -infinity , 0 , 5 , 8 , 10 , 12 , 15 , 18 ) , 0xff stands for -infinity // valid only when preambleGroupAPresent is true Int8 messagePowerOffsetGroupB ; // only valid when groupA exist Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePreambleInfo; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonTag { // Preamble allocation information LtePreambleInfo preambleInfo ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStep ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPower ; // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMax ; // Windows size for UE receiving RAR , value range: ( 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 ) Int8 raResponseWindowSize ; // Timer for MAC contention resolution , value range: ( 8 , 16 , 24 , 32 , 40 , 48 , 56 , 64 ) Int8 macContentionResolutionTimer ; // Maximum number of Msg3 HARQ transmissions , used for contention based random access , value range: ( 1 ~8 ) Int8 maxHarqMsg3Tx ; Int8 reserved0 ; Int8 reserved1 ; } LteRachConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigSibTag { // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 Int8 prachConfigIndex ; // To indicate whether current cell is for high speed Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfigSib; //ICAT EXPORTED STRUCT typedef struct LtePrachConfigTag { // Configuration type of PRACH config info exists LteRrcL1ConfigType prachConfigInfoConfigType ; // RACH_ROOT_SEQUENCE to generate Zadoff-Chu sequence , value range :0~837 Int16 rootSequenceIndex ; // PRACH configuration index , value range :0~63 , valid only when prachConfigInfoPresent is TRUE Int8 prachConfigIndex ; // To indicate whether current cell is for high speed , valid only when prachConfigInfoPresent is TRUE Boolean highSpeedFlag ; // N_cs configuration , refer to 36.211000 section 5.700000 .2 , valid only when prachConfigInfoPresent is TRUE Int8 zeroCorrelationZoneFlag ; // Parameter: prach-FrequencyOffset , see TS.211 [ 21 , 5.700000 .1 ] , For TDD the value range is dependent on the value of prachConfigIndex , valid only when prachConfigInfoPresent is TRUE Int8 prach_FreqOffset ; Int8 reserved0 ; Int8 reserved1 ; } LtePrachConfig; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlCommonTag { // P_0_NORMINAL_PUSCH ( 1 ) in TS 36.213000 , , 5.100000 .1.1 , value range:-126~24 SignedInt8 p0NominalPusch ; // alpha See TS 36.213000 , 5.100000 .1.1 , value range ( 0 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ) , L1 needs to divide this value by 10 Int8 alpha ; // P_0_NORMINAL_PUCCH in TS 36.213000 , 5.100000 .2.1 , value range:-127~-96 SignedInt8 p0NominalPucch ; // Power offset for Format 1 PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat1 ; // Power offset for Format 1 b PUCCH , value range ( 1 , 3 , 5 ) SignedInt8 deltaFPucchFormat1b ; // Power offset for Format 2 PUCCH , value range ( -2 , 0 , 1 , 2 ) SignedInt8 deltaFPucchFormat2 ; // Power offset for Format 2 a PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2a ; // Power offset for Format 2 b PUCCH , value range ( -2 , 0 , 2 ) SignedInt8 deltaFPucchFormat2b ; // Power offset for message , value range: -1~6 SignedInt8 deltaPreambleMsg3 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUlPowerCtrlCommon; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigCommonTag { // Downlink reference-signal EPRE , value range:-60~50 ( dBm ) SignedInt8 referenceSignalPower ; // P_B , see TS 36.213000 [ 23 , Table 5.200000 -1 ] Int8 pb ; Int8 reserved0 ; Int8 reserved1 ; } LtePdschConfigCommon; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigCommonTag { // Number of subband during hopping , value range:1~4 Int8 nSb ; // Flag indicates whether the hopping the intra-and-inter-subframe ( 1 ) or inter-subframe ( 0 Int8 hoppingMode ; // RB offset during hopping , value range:0~98 Int8 puschHoppingOffset ; // Flag indicates whether 64 QAM can be used Boolean enable64Qam ; // Flag indicates whether group hopping is used during generating reference signal Boolean rsGroupHoppingEnabled ; // delta SS in TS 36.211000 [ 21 , 5.500000 .1.3 ] , value range:0~29 Int8 rsGroupAssignmentPusch ; // Flag indicates whether sequence hopping is used during generating reference signal Boolean rsSequenceHoppingEnabled ; // cyclicShift , see TS 36.211000 [ 21 , Table 5.500000 .2.1.1-2 ] , value range:0~7 Int8 rsCyclicShift ; } LtePuschConfigCommon; //ICAT EXPORTED ENUM typedef enum LtePhichResourceConfigTag { One_Six_PHICH_RES , Half_PHICH_RES , One_PHICH_RES , Two_PHICH_RES , LTE_PHICH_RES_CONFIG_INVALID = 0x7FFFFFFF } LtePhichResourceConfig; //ICAT EXPORTED STRUCT typedef struct LtePhichConfigTag { // PHICH duration , value range: 0 :normal , 1 :extended Int8 phichDuration ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePhichResourceConfig phichResource ; } PhichConfig; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigCommonTag { // delta Pucch Shift see 36.211000 , 5.400000 .1 , value range ( 1 , 2 , 3 ) Int8 deltaPucchShift ; // number of RB used for reporting CQI , value range:0~98 Int8 nRbCqi ; // N_ ( 1 ) _PUCCH , TS 36.213000 [ 23 , 10.100000 ] , value range:0~2047 Int16 n1PucchAn ; // N_ ( 1 ) _CS , see TS 36.211000 [ 21 , 5.400000 ] , value range:0~7 Int8 nCsAn ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePucchConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigCommonTag { // SRS Bandwidth Configuration. See TS 36.211000 , [ 21 , table 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2- 4 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 srsBandwidthConfig ; // SRS SubframeConfiguration , for TD-LTE see TS 36.211000 , [ 21 , table 5.500000 .3.3-2 ] , value range ( 0 ~15 ) Int8 srsSubframeConfig ; // Flag indicates whether ACK / NACK on PUCCH can be sent simultaneously with SRS Boolean ackNackSrsSimultaneousTransmission ; // Flag indicates whether SRS bandwidth should be reconfigured in UpPts Boolean srsMaxUpPts ; } LteSrsUlConfigCommon; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigTag { // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 ) Int8 onDurationTimer ; // Timer for DRX in TS 36.321000 , value range ( 1 , 2 , 4 , 6 , 8 , 16 , 24 , 33 ) Int8 drxRetransmissionTimer ; // Drx inactivity timer in TS36.321 , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 , 20 , 30 , 40 , 50 , 60 , 80 , 100 , 200 , 300 , 500 , 750 , 1280 , 1920 , 2560 ) Int16 drxInactivityTimer ; // long DRX cycle , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 , 2048 , 2560 ) Int16 longDrxCycle ; // drx Start offset , value range ( 0 ~2559 ) , this value should be less than longDrxCycle Int16 drxStartOffset ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range ( 2 , 5 , 8 , 16 , 20 , 32.400000 , 64 , 80 , 128 , 160 , 256 , 320 , 512 , 640 ) Int16 shortDrxCycle ; // If this IE doesn ' t exists in ASN.1 message , value 0 for release should be filled here // Value range:1~16 Int8 drxShortCycleTimer ; Int8 reserved0 ; // Configuration type of shortDrx LteRrcL1ConfigType shortDrxConfigType ; } LteDrxConfig; //ICAT EXPORTED STRUCT typedef struct LtePhrConfigTag { // Periodic power headroom report timer , value range ( 10 , 20 , 50 , 100 , 200 , 500 , 1000 , infintiy ) , 0xffff stands for infiity Int16 periodicPhrTimer ; // Prohibit power headroom report timer , value range ( 0 , 10 , 20 , 50 , 100 , 200 , 500 , 1000 ) Int16 prohibitPhrTimer ; // Downlink path loss to trigger power headroom report , value range ( 1 , 3 , 6 , infinity ) , 0xff stands for infinity Int8 dlPathLossChange ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LtePhrConfig; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigV1020Tag { LteRrcL1ConfigType sCellDeactivationTimerR10ConfigType ; LteRrcL1ConfigType extendedBsrSizesR10ConfigType ; LteRrcL1ConfigType extendedPhrR10ConfigType ; // Value range: 2 for rf2 , 4 for rf4 , 16 for rf16 , 32 for rf32 , 64 for rf 64 , 128 for rf 128 Int8 sCellDeactivationTimerR10 ; // Value range: 0 for setup Int8 extendedBsrSizesR10 ; // Value range: 0 for setup Int8 extendedPhrR10 ; Int8 reserved0 ; } LteMacMainConfigV1020; //ICAT EXPORTED STRUCT typedef struct LteSecTagToAddModR11ConfigTag { Int8 secTagId ; Int8 reserved ; Int16 timeAlignmentTimerSecTag ; // 0xffff means infinity } LteSecTagToAddModR11Config; //ICAT EXPORTED ENUM typedef enum LteLongDrxCycleStartOffsetV1130ChoiceTag { Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf60 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Sf70 , Lte_Long_Drx_Cycle_Start_Offset_V1130_Invalid = 0x7FFFFFFF } LteLongDrxCycleStartOffsetV1130Choice; //ICAT EXPORTED STRUCT typedef struct LteLongDrxCycleStartOffsetV1130Tag { LteLongDrxCycleStartOffsetV1130Choice longDrxCycleStartOffsetV1130Choice ; // Value range: 0 to 59 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf60 Int8 sf60V1130 ; // Value range: 0 to 69 // Valid only when longDrxCycleStartOffsetV11x0Choice is Lte_Long_Drx_Cycle_Start_Offset_V11x0_Sf70 Int8 sf70V1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteLongDrxCycleStartOffsetV1130; //ICAT EXPORTED STRUCT typedef struct LteDrxConfigV1130Tag { LteRrcL1ConfigType shortDrxCycleV1130ConfigType ; // Value range: 0 for psf0-V11x0 LteRrcL1ConfigType drxRetransmissionTimerV1130ConfigType ; Int8 drxRetransmissionTimerV1130 ; // 0 for psf0 // Value range: 0 for sf4-v11x0 Int8 shortDrxCycleV1130 ; // 0 for sf4 Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType longDrxCycleStartOffsetV1130ConfigType ; LteLongDrxCycleStartOffsetV1130 longDrxCycleStartOffsetV1130 ; } LteDrxConfigV1130; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigR13Tag { LteRrcL1ConfigType lteDrxConfigV1310ConfigType ; // NEED ON LteDrxConfigV1310 lteDrxConfigV1310 ; LteRrcL1ConfigType extendedPHR2_r13ConfigType ; // NEED ON Boolean extendedPHR2_r13 ; Int8 reserved2 [ 3 ] ; LteRrcL1ConfigType lteEdrxConfigCycleStartOffsetR13ConfigType ; // NEED ON LteEdrxConfigCycleStartOffsetR13 lteEdrxConfigCycleStartOffsetR13 ; LteRrcL1ConfigType lteMacConfigDrxConfigR13ConfigType ; // NEED ON LteMacConfigDrxConfigR13 lteMacConfigDrxConfigR13 ; } LteMacMainConfigR13; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfig_R9Tag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigTag { // Configuration type of maxHarqTx , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType maxHarqTxConfigType ; // Configuration type of periodicBsrTimer , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE LteRrcL1ConfigType periodicBsrTimerConfigType ; // Flag indicates whether retxBsrTimer is present // Boolean retxBsrTimerPresent ; // Configuration type of ul-Sch-Config LteRrcL1ConfigType ulSchConfigConfigType ; // periodic buffer status report timer , value range ( 5 , 10 , 16 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 , 1280 , 2560 , infinity ) , 0xffff stands for infinity // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 periodicBsrTimer ; // Timer for BSR reporting in TS 36.321000 , value range ( 320 , 640 , 1280 , 2560 , 5120 , 10240 ) ; // valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int16 retxBsrTimer ; // Configuration type of drxConfig LteRrcL1ConfigType drxConfigConfigType ; // Configuration type of phrConfig LteRrcL1ConfigType phrConfigConfigType ; // Maximum number of transmissions for UL HARQ , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 10 , 12 , 16 , 20 , 24 ) , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Int8 maxHarqTx ; // Flag indicates whether TTI Bundle is used , valid only when ulSchConfigConfigType is LTE_SETUP_RRC_L1_TYPE or LTE_NOTCHANGE_SETUP_RRC_L1_TYPE Boolean ttiBundling ; Int16 timeAlignmentTimerDedicated ; // Drx configuration LteDrxConfig drxConfig ; // PHR configuration LtePhrConfig phrConfig ; // Configuration type of srProhibitTimerR9 LteRrcL1ConfigType srProhibitTimerR9ConfigType ; Int8 srProhibitTimerR9 ; // Upgrade to R11 , start Int8 numOfSecTagIdToReleaseR11 ; /* 1 to maxSecTAG_r11 */ Int8 numOfSecTagIdR11ToAdd ; Int8 reserved ; LteRrcL1ConfigType macMainConfigV1020ConfigType ; LteMacMainConfigV1020 macMainConfigV1020 ; LteRrcL1ConfigType secTagIdToReleaseR11ConfigType ; LteRrcL1ConfigType secTagIdR11ToAddConfigType ; Int8 secTagIdToReleaseR11 [ 3 ] ; Int8 reserved1 ; LteSecTagToAddModR11Config secTagToAddModListR11 [ 3 ] ; LteRrcL1ConfigType drxConfigV1130ConfigType ; LteDrxConfigV1130 drxConfigV1130 ; // Upgrade to R11 , end } LteMacMainConfig; //ICAT EXPORTED STRUCT typedef struct LteTwoAntennaPortActivatedR10Tag { Int8 numOfN1PucchAnPersis ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisListP1R10 [ 4 ] ; } LteTwoAntennaPortActivatedR10; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDl_R9Tag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; } LteSpsConfigDl_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigDlTag { // Semi-persistent scheduling interval in downlink , see TS 36.321000 , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalDl ; // he number of configured HARQ processes for Semi-Persistent Scheduling , see TS 36.321000 , value range:1~8 Int8 numOfSpsProcesses ; Int8 numOfN1PucchAnPersis ; // n_ ( 1 ) _Pucch for SPS , value range:0~2047 Int16 n1PucchAnPersisList [ 4 ] ; LteRrcL1ConfigType twoAntennaPortActivatedR10ConfigType ; LteTwoAntennaPortActivatedR10 twoAntennaPortActivatedR10 ; } LteSpsConfigDl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigUlTag { // Semi-persistent scheduling interval in uplink , value range ( 10 , 20 , 32 , 40 , 64 , 80 , 128 , 160 , 320 , 640 ) Int16 spsIntervalUl ; // Number of MAC PDU without MAC SDU in uplink SPS causes SPS release , value range ( 2 , 3 , 4 , 8 ) Int8 implicitReleaseAfter ; // P_0_NORMINAL_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-126~24 , only valid if p0PersistentPresent is TRUE SignedInt8 p0NominalPuschPersistent ; // Configuration type of p0Persistent LteRrcL1ConfigType p0PersistentConfigType ; // P_0_UE_PUSCH ( 0 ) for UL sps , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range: -8~7 , only valid if p0PersistentPresent is TRUE SignedInt8 p0UePuschPersistent ; Boolean twoIntervalsConfig ; Int8 reserved0 ; Int8 reserved1 ; // Trigger of two-intervals-Semi-Persistent Scheduling in uplink. See TS 36.321000 [ 6 , 5.100000 ] LteRrcL1ConfigType twoIntervalsConfigConfigType ; } LteSpsConfigUl; //ICAT EXPORTED STRUCT typedef struct LteSpsConfig_R9Tag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl_R9 spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig_R9; //ICAT EXPORTED STRUCT typedef struct LteSpsConfigTag { // Configuration type of spsRnti LteRrcL1ConfigType spsRntiConfigType ; // Configuration type of spsConfigDl LteRrcL1ConfigType spsConfigDlConfigType ; // Value of semi-persistent scheduling RNTI , valid only when spsRntiConfigType is SETUP Int16 spsRnti ; Int8 reserved0 ; Int8 reserved1 ; // To specify the downlink semi-persistent scheduling configuration LteSpsConfigDl spsConfigDl ; // Configuration type of of spsConfigUl LteRrcL1ConfigType spsConfigUlConfigType ; // To specify the uplink semi-persistent scheduling configuration LteSpsConfigUl spsConfigUl ; } LteSpsConfig; //ICAT EXPORTED ENUM typedef enum LtePaEnumTag { lte_minus_six_pa , lte_minus_four_dot_seven_seven_pa , lte_minus_three_pa , lte_minus_one_dot_seven_seven_pa , lte_zero_pa , lte_one_pa , lte_two_pa , lte_three_pa , lte_pa_invalid = 0x7FFFFFFF } LtePaEnum; //ICAT EXPORTED ENUM typedef enum LteTddAckNackFeedbackModeTag { LTE_TDD_ACK_FEEDBACK_BUNDLING , LTE_TDD_ACK_FEEDBACK_MULTIPLEXING , LTE_TDD_ACK_FEEDBACK_INVALID = 0x7FFFFFFF } LteTddAckNackFeedbackMode; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedTag { // Configuration type of Ack Nack repeitition LteRrcL1ConfigType ackNackRepConfigType ; // n_ ( 1 ) _PUCCH for feedback repeated ACK / NACK. value range:0~2047 , valid only when ackNackRepConfigType is SETUP Int16 n1PucchAnRep ; // N_AN_REP in TS36.213 , [ 23 , 10.100000 ] , value range ( 2 , 4 , 6 ) , valid only when ackNackRepConfigType is SETUP Int8 repetitionFactor ; Int8 reserved0 ; // Configuration type of tddAckNackFeedbackMode LteRrcL1ConfigType tddAckNackFbModeConfigType ; // ACK / NACK feed back mode LteTddAckNackFeedbackMode tddAckNackFeedbackMode ; } LtePucchConfigDedicated; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedTag { // Beta offset for ACK / NACK on PUSCH , value range:0~15 Int8 betaOffsetAckIndex ; // Beta offset for RI on PUSCH , value range:0~15 Int8 betaOffsetRiIndex ; // Beta offset for CQI / PMI on PUSCH , value range:0~15 Int8 betaOffsetCqiIndex ; Int8 reserved0 ; } LtePuschConfigDedicated; //ICAT EXPORTED ENUM typedef enum LteDeltaMcsTag { // en0 corresponds to value 0 corresponding to state " disabled " lte_en0_delta_mcs , // en1 corresponds to value 1.250000 corresponding to " enabled " . lte_en1_delta_mcs , LTE_DELTA_MCS_INVALID = 0x7FFFFFFF } LteDeltaMcs; //ICAT EXPORTED ENUM typedef enum LteFilterCoefficientTag { lte_fc0_filter_coff=0 , lte_fc1_filter_coff=1 , lte_fc2_filter_coff=2 , lte_fc3_filter_coff=3 , lte_fc4_filter_coff=4 , lte_fc5_filter_coff=5 , lte_fc6_filter_coff=6 , lte_fc7_filter_coff=7 , lte_fc8_filter_coff=8 , lte_fc9_filter_coff=9 , lte_fc11_filter_coff=11 , lte_fc13_filter_coff=13 , lte_fc15_filter_coff=15 , lte_fc17_filter_coff=17 , lte_fc19_filter_coff=19 , LTE_FILTER_COEFFICIENT = 0x7FFFFFFF } LteFilterCoefficient; //ICAT EXPORTED STRUCT typedef struct LteUlPowerCtrlDedicatedTag { // Ks See TS 36.213000 [ 23 , 5.100000 .1.1 ] . LteDeltaMcs deltaMcsEnabled ; // P_0_UE_PUSCH ( 1 ) , See TS 36.213000 [ 23 , 5.100000 .1.1 ] , value range:-8~7 SignedInt8 p0UePusch ; // Accumulation-enabled , see TS 36.213000 [ 23 , 5.100000 .1.1 ] . TRUE corresponds to " enabled " whereas FALSE corresponds to " disabled " . Boolean accumulationEnabled ; // P_0_UE_PUCCH , See TS 36.213000 [ 23 , 5.100000 .2.1 ] , value range:-8~7 SignedInt8 p0UePucch ; // Parameter to calculate power offset , value range:0~15 Int8 pSrsOffset ; // Specifies the filtering coefficient for RSRP measurements used to calculate path loss , as specified in TS 36.213000 [ 23 , 5.100000 .1.1 ] // default value: fc4 LteFilterCoefficient filterCoefficient ; } LteUlPowerCtrlDedicated; //ICAT EXPORTED ENUM typedef enum LteTpcPdcchFormatTag { Lte_Format3_tpc_pdcch , Lte_Format3A_tpc_pdcch , LTE_TPC_PDCCH_FORMAT_INVALID = 0x7FFFFFFF } LteTpcPdcchFormat; //ICAT EXPORTED STRUCT typedef struct LteTpcPdcchConfigTag { // DCI format LteTpcPdcchFormat tpcPdcchFormat ; // RNTI for decoding DCI 3 / 3 A on PDCCH Int16 tpcRnti ; // Tpc Index , value range:1~31 Int8 tpcIndex ; Int8 reserved0 ; } LteTpcPdcchConfig; //ICAT EXPORTED ENUM typedef enum LteCqiFormatTag { LTE_WIDEBAND_CQI_FORMAT , LTE_SUBBAND_CQI_FORMAT , LTE_CQI_FORMAT_INVALID = 0x7FFFFFFF } LteCqiFormat; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicTag { // Pucch resource index for reporting CQI , value range:0~1185 Int16 cqiPucchResourceIndex ; // CQI / PMI Periodicity and Offset Configuration Index , see TS 36.213000 [ 23 , tables 7.200000 .2-1A and 7.200000 .2-1C ] // Value range:0~1023 Int16 cqiPmiConfigIndex ; // To inidicate whether the periodic report is wideband or subband LteCqiFormat cqiFormatIndPeriodic ; // Configuration type of riConfigIndex LteRrcL1ConfigType riConfigIndexConfigType ; // K , see TS 36.213000 [ 23 , 7.200000 .2 ] . value range:1~4 , only valid if cqiFormatIndPeriodic is SUBBAND_CQI Int8 k ; // Flag to indicates whether ACK / NACK can be reported on PUCCH in the same subframe Boolean simultaneousAckNackAndCqi ; // The RI configuration index , see TS 36.213000 [ 23 , 7.200000 .2-1B ] , value range:0~1023 // valid only when riConfigIndexRelease is FALSE Int16 riConfigIndex ; } LteCqiReportPeriodic; //ICAT EXPORTED ENUM typedef enum LteAperiodicCqiReportModeTag { Lte_Release_aper_cqi_rep , Lte_Mode_1_2_aper_cqi_rep , Lte_Mode_2_0_aper_cqi_rep , Lte_Mode_2_2_aper_cqi_rep , Lte_Mode_3_0_aper_cqi_rep , Lte_Mode_3_1_aper_cqi_rep , LTE_APER_CQI_REPORT_MODE_INVALID = 0x7FFFFFFF } LteAperiodicCqiReportMode; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigTag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodic ; // Configuration type of cqiReportPeriodic LteRrcL1ConfigType cqiReportPeriodicConfigType ; // Configuration type of cqiReportModeAperiodic LteRrcL1ConfigType cqiReportModeAperiodicConfigType ; // To specify the periodic CQI reporting configuration LteCqiReportPeriodic cqiReportPeriodic ; } LteCqiReportConfig; //ICAT EXPORTED STRUCT typedef struct LteSrsUlConfigDedicatedTag { // B_SRS , see see TS 36.211000 [ 21 , tables 5.500000 .3.2-1 , 5.500000 .3.2-2 , 5.500000 .3.2-3 and 5.500000 .3.2-4 ] // value range ( 0 , 1 , 2 , 3 ) Int8 srsBandwidth ; // SRS hopping bandwidth , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 , 2 , 3 ) Int8 srsHoppingBandwidth ; // n_RRC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range:0~23 Int8 freqDomainPosition ; // Duration. See TS 36.213000 [ 21 , 8.200000 ] . FALSE corresponds to " single " and value TRUE to " indefinite " . Boolean duration ; // I_srs , See TS 36.213000 [ 23 , table8.2-1 ] , value range:0~1023 Int16 srsConfigIndex ; // k_TC , see TS 36.211000 [ 21 , 5.500000 .3.2 ] , value range ( 0 , 1 ) Int8 transmissionComb ; // n_SRS. See TS 36.211000 [ 21 , 5.500000 .3.1 ] . value range:0~7 Int8 cyclicShift ; } LteSrsUlConfigDedicated; typedef union CodebookSubsetRestrictionTag { Int8 n2TxAntennaTm3 ; Int8 n4TxAntennaTm3 ; Int8 n2TxAntennaTm4 ; Int8 n4TxAntennaTm4 [ 8 ] ; Int8 n2TxAntennaTm5 ; Int8 n4TxAntennaTm5 [ 2 ] ; Int8 n2TxAntennaTm6 ; Int8 n4TxAntennaTm6 [ 2 ] ; / / aligned to realse 36.331000 910 Int8 n2TxAntennaTm8 ; Int8 n4TxAntennaTm8 [ 4 ] ; } CodebookSubsetRestriction ; //ICAT EXPORTED ENUM typedef enum LteUeTransAntennaSelectionTag { Lte_CloseLoop_trans_ant_sel , Lte_OpenLoop_trans_ant_sel , Lte_Release_trans_ant_sel , LTE_UE_TRANS_ANT_SEL_INVALID = 0x7FFFFFFF } LteUeTransAntennaSelection; //ICAT EXPORTED ENUM typedef enum LteAntennaInfoChoice { Lte_Explicit_Value , Lte_Default_Value , LTE_ANT_INFO_CHOICE_INVALID = 0x7FFFFFFF } LteAntennaInfoChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedTag { // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~8 Int8 transmissionMode ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Configuration type of codebookSubsetRestriction LteRrcL1ConfigType codebookSubsetRestrictionConfigType ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . // The LSB of codebookSubsetRestriction [ 0 ] corresponds to the the LSB of the whole codebookSubsetRestriction Int8 codebookSubsetRestriction [ 8 ] ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in TS 36.213000 [ 23 , 8.700000 ] . LteUeTransAntennaSelection ueTransAntennaSelection ; // The choice used to indicate whether the antennainfo is signalled explicity or set to default antenna configuration // as specified in section 9.200000 .4 , TS 36.331000 -920 LteAntennaInfoChoice antennaInfoChoice ; } LteAntennaInfoDedicated; //ICAT EXPORTED STRUCT typedef struct LteSrConfigTag { // The pucch resource index to report scheudling request , value range:0~2047 Int16 srPucchResourceIndex ; // The scheduling request config index , See TS 36.213000 [ 23 , 10.100000 ] , value range:0~157 Int8 srConfigIndex ; // Parameter for SR transmission in TS 36.321000 , value range ( 4 , 8 , 16 , 32 , 64 ) Int8 dsrTransMax ; } LteSrConfig; //ICAT EXPORTED STRUCT typedef struct EubandTag { Earfcn lteMinFreq ; /*CQ00107221 modify from Int16*/ Earfcn lteMaxFreq ; /*CQ00107221 modify from Int16*/ } Euband; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRAFDDTag { lte_epich_RSCP_meas , lte_epich_EnN0_meas , LTE_MEAS_QUANT_UNTRAFDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRAFDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityUTRATDDTag { lte_pccpch_RSCP_meas , LTE_MEAS_QUANT_UTRATDD_INVALID = 0x7FFFFFFF } LteMeasQuantityUTRATDD; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityGERANTag { lte_rssi_meas , LTE_MEAS_QUANT_GERAN_INVALID = 0x7FFFFFFF } LteMeasQuantityGERAN; //ICAT EXPORTED ENUM typedef enum LteMeasQuantityCDMA2000Tag { lte_pilotStrength_meas , lte_pilotPnPhaseAndPilotStrength_meas , LTE_MEAS_QUANT_CDMA2000_INVALID = 0x7FFFFFFF } LteMeasQuantityCDMA2000; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigEutraTag { LteFilterCoefficient filterCoefficientRSRP ; LteFilterCoefficient filterCoefficientRSRQ ; } LteQuantityConfigEutra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigUtraTag { LteMeasQuantityUTRAFDD measQuantityUtraFdd ; LteMeasQuantityUTRATDD measQuantityUtraTdd ; LteFilterCoefficient filterCoefficient ; LteFilterCoefficient filterCoefficient2_FDD_r10 ; // CQ00041317 , Upgrade to vb30 } LteQuantityConfigUtra; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigGeranTag { LteMeasQuantityGERAN measQuantityGeran ; LteFilterCoefficient filterCoefficient ; } LteQuantityConfigGeran; //ICAT EXPORTED STRUCT typedef struct LteQuantityConfigCdma2000Tag { LteMeasQuantityCDMA2000 measQuantityCdma2000 ; } LteQuantityConfigCdma2000; //ICAT EXPORTED ENUM typedef enum LteCodebookSubsetRestrictionV920Tag { Lte_n2TxAntenna_tm8_r9 , Lte_n4TxAntenna_tm8_r9 , LTE_CODEBOOK_SUBSET_RESTRICTION_V920_INVALID = 0x7FFFFFFF } LteCodebookSubsetRestrictionV920; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedV920Tag { // Configuration type of codebookSubsetRestrictionV920 // This field is set to Setup only PMI / RI report is configure LteRrcL1ConfigType CodebookSubsetRestrictionV920ConfigType ; // To indicate whether n2TxAntenna_tm8_r9 or n2TxAntenna_tm8_r9 is used LteCodebookSubsetRestrictionV920 codebookSubsetRestrictionV920 ; // The codebook subset restriction for 2 TX antenna , TM8 Int8 n2TxAntenna_tm8_r9 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // The codebook subset restriction for 4 TX antenna , TM8 Int32 n4TxAntenna_tm8_r9 ; } LteAntennaInfoDedicatedV920; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; SignedInt16 rsrq ; /*CQ00118845 add begin*/ // #if !defined ( UPGRADE_PLMS ) // CQ00124541 remove SignedInt16 rssi ; // #else // CQ00124541 remove /*CQ00118845 add end*/ // Int8 reserved0 ; // CQ00124541 remove // Int8 reserved1 ; // CQ00124541 remove // #endif / *CQ00118845 add* / // CQ00124541 remove } LteDetectMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteDetectMeasReportFromL1forGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; SignedInt16 rsrp ; } LteDetectMeasReportFromL1forGsm; //ICAT EXPORTED ENUM typedef enum ErrcBandIndicatorGeranTag { Errc_Geren_Band_Ind_Dcs1800 = 0 , Errc_Geren_Band_Ind_Pcs1900 = 1 , ErrcBandIndicatorGeran_Invalid = 0x7fffffff } ErrcBandIndicatorGeran; //ICAT EXPORTED ENUM typedef enum LteSubframePatternChoiceTag { LTE_SUBFRAME_PATTERN_FDD , LTE_SUBFRAME_PATTERN_TDD_1_5_R10 , LTE_SUBFRAME_PATTERN_TDD_0_R10 , LTE_SUBFRAME_PATTERN_TDD_6_R10 , LTE_SUBFRAME_PATTERN_INVALID = 0x7FFFFFFF } LteSubframePatternChoice; //ICAT EXPORTED STRUCT typedef struct LteMeasSubframePatternR10Tag { LteSubframePatternChoice subframePatternChoice ; // The LSB of subframePatternBitString [ 0 ] corresponds to the LSB of the whole bitstring Int8 subframePatternBitString [ 9 ] ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMeasSubframePatternR10; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutra_R9Tag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00111620 del for 32 bits alignment // Int8 reserved1 ; // CQ00111620 del for 32 bits alignment // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; } LteL1aMeasObjectEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 numberOfCell ; // Int8 reserved0 ; // CQ00041317 // Int8 reserved1 ; // CQ00041317 // The cell ID to measurement in this frequency Int16 cellsToAddMod [ 32 ] ; // CQ00041317 , Upgrade to vb30 // The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) // 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; // To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; // To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; LteMeasSubframePatternR10 measSubframePatternR10 ; // To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ 32 ] ; // CQ00041317 , end } LteL1aMeasObjectEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutra_R9Tag { // 2 after CQ00111620 , same as LteL1aMeasObjectInterEutra , but still keep it for future modify. // 2 if modify the structure , should also modify L1aAdaptForEcphyInterFreqInfoReq ( ) . // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00111620 modify Int16 to Earfcn. // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. Int8 reserved2 ; // CQ00111620 add for 32 bits alignment. } LteL1aMeasObjectInterEutra_R9; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectInterEutraTag { // ARFCN of the frequency for the cells to measure Earfcn euArfcn ; // CQ00041317 , extended earfcn from Int16 to Int32 // CQ00070565 // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 allowMeasBandwidth ; // To indicate whether there is antenna port1 in the cell Boolean presenceAntennaPort1 ; // The UL / DL configuration of the cell , value range ( 0 , 1 , 10 , 11 ) Int8 neighCellConfig ; // To indicate the number of valid value of CellsToAddModList Int8 reserved0 ; // The cell ID to measurement in this frequency Int16 phyCellId ; Int8 reserved1 ; Int8 reseved2 ; /* / / CQ00041317 , Upgrade to vb30 / / The measure cycle for SCells , value range ( 0 , 160 , 256 , 320 , 512 , 640 , 1024 , 1280 ) / / 0 means invaild configuration , 160 corresponds to 160 sub-frames and so on Int16 measCycleSCellR10 ; / / To indicate whether use a wider bandwidth to perform RSRQ measurements , in accordance with TS 36.133000 Boolean widebandRsrqMeasEnabled ; / / To indicate whether the measSubframePatternNeigh is applied Boolean measSubframePatternConfigNeighR10Present ; / / To indicate the number of valid value of measSubframeCellListR10 Int8 numOfSubframeCell ; Int8 reserved1 ; LteMeasSubframePatternR10 measSubframePatternR10 ; / / For cells in measSubframeCellList the UE shall assume that the subframes indicated by measSubframePatternNeigh are non-MBSFN subframes. LteMeasSubframeCellR10 measSubframeCellListR10 [ LTE_MAX_CELL_PER_FREQ ] ; / / CQ00041317 , end */ } LteL1aMeasObjectInterEutra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectTddUtraTag { Int16 carrierFreq ; // no need for cell id information // Int8 numOfPhycellIdTddUtra ; // zero in ERRC IDLE. maybe non-zero in ERRC-CONNECTED // Int8 reserved0 ; // Int16 phycellIdTddUtra [ LTE_MAX_MEAS_TDD_UTRA_CELL_NUM ] ; Int16 reserved1 ; } LteL1aMeasObjectTddUtra; //ICAT EXPORTED STRUCT typedef struct LteL1aMeasObjectFddUtraTag { Int16 carrierFreq ; Int16 numOfPhycellIdFddUtra ; Int16 phycellIdFddUtra [ 32 ] ; // Int16 phycellIdFddUtra ; } LteL1aMeasObjectFddUtra; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment Int8 reserved1 ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfo; //ICAT EXPORTED STRUCT typedef struct LteCellMeasResultTag { // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; // Reference signal received power , see TS36.214 section , 5.100000 .1 , value range: ( ( 0 ~97 ) -140 ) *64 ) SignedInt16 rsrp ; // CQ00070565 // Reference signal received quality , see TS36.214 section , 5.100000 .3 , value range: ( ( 0 ~34 ) -40 ) *32 ) SignedInt16 rsrq ; // CQ00070565 Int16 reserved ; } LteCellMeasResult; //ICAT EXPORTED STRUCT typedef struct LteInterMeasReportFromL1Tag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Int8 reserved0 ; // CQ00107941 del for 32 bit strcut alignment // Int8 reserved1 ; // measurement result of each cell LteCellMeasResult cellMeasResult ; } LteInterMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteIntraMeasReportFromL1Tag { // freq of the report cells Earfcn euArfcn ; // CQ00070565 / *CQ00107221 modify from Int16* / // Number of valid report Int16 numOfCell ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ LteCellMeasResult cellMeasResult [ 32 ] ; } LteIntraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteGeranMeasReportFromL1Tag { Int16 rssi ; // unit: 1 / 16 dB+65536 , ( unsigned int16 , therefore need + 65535 ) Int16 lnaState ; // for gsm usage // Boolean BsicPresent ; // Int8 Bsic ; // cell specific BSIC ( Base Station Identity Code ) // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode ErrcArfcnGeranValue arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 reserved0 ; ErrcBandIndicatorGeran bandIndicator ; // Indicates how to interpret the ARFCN of the BCCH carrier. } LteGeranMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasCellTag { Int16 phyCellIdTddUtra ; /*note: actual value:phyCellIdTddUtra>>8 , CQ00073068 add */ // Int8 reserved0 ; Int16 pccpchRscp ; /* In 1 / 8 dBm units ( -1336 ~0 ) , refer to l1c_sig.h , actual value*8+1000 */ } LteTddUtraMeasCell; //ICAT EXPORTED STRUCT typedef struct LteTddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue carrierFreq ; Int8 reserved0 ; Int8 numOfMeasCell ; LteTddUtraMeasCell measCell [ 4 ] ; } LteTddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteFddUtranMeasIndTag { Int16 scramblingCode ; SignedInt16 cpichEcN0 ; /* In 1 / 8 dBm units */ SignedInt16 cpichRscp ; /* In 1 / 8 dBm units */ Int16 reserved0 ; } LteFddUtranMeasInd; //ICAT EXPORTED STRUCT typedef struct LteFddUtraMeasReportFromL1Tag { ErrcArfcnUtraValue uarfcn ; Int8 numOfCells ; Int8 reserved0 ; SignedInt16 rssiInd ; Int8 reserved1 ; Int8 reserved2 ; LteFddUtranMeasInd utranCellMeasInd [ 32 ] ; } LteFddUtraMeasReportFromL1; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV920Tag { // Configuration type of cqiMaskR9 LteRrcL1ConfigType cqiMaskR9ConfigType ; // Configuration type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Limits CQI / PMI / RI reports to the on-duration period of the DRX cycle , value range: 0 stands for true // See TS 36.321000 Int8 cqiMaskR9 ; // the presence of this field meas PMI / RI reporting is configured , which applicable only when transmission Mode isset to TM8 // Otherwise PMI / RI reporting is not configured , value range:0 stands for true Int8 pmiRiReportR9 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportConfigV920; //ICAT EXPORTED STRUCT typedef struct UFrequncyCellInLteTag { Int16 uarfcn ; /* Some frequencies with high priority must be serched periodly according to RRC demand */ Int8 cellSearchPeriod ; Int8 reserved0 ; } UFrequncyCellInLte; //ICAT EXPORTED STRUCT typedef struct UcsFrequncyBandsInLteTag { /* start of frequency in this band */ Int16 minFreqInBand ; /* end of frequency in this band */ Int16 maxFreqInBand ; } UBandInLte; //ICAT EXPORTED ENUM typedef enum LteUeTransmitAntennaSelectionSetupChoiceTag { Ue_Trans_Ant_Select_Openloop , Ue_Trans_Ant_Select_Closeloop , Ue_Trans_Ant_Select_Invalid = 0x7FFFFFFF } LteUeTransmitAntennaSelectionSetupChoice; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR10Tag { LteAntennaInfoChoice lteAntennaInfoDedicatedR10Choice ; // Transmission modes defined in TS 36.213000 [ 23 , 7.100000 ] , value range:1~10 Int8 transmissionMode_R10 ; // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR10InBit ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; // Config type of ueTransmitAntennaSelection LteRrcL1ConfigType ueTransmitAntennaSelectionConfigType ; // For value setup the field indicates whether UE transmit antenna selection control is closed-loop or open-loop as described in // TS 36.213000 [ 23 , 8.700000 ] . EUTRAN configures the same value for all serving cells. // Valid only if ueTransmitAntennaSelectionConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteUeTransmitAntennaSelectionSetupChoice ueTransmitAntennaSelectionSetupChoice ; } LteAntennaInfoDedicatedR10; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoDedicatedR11Tag { // Len in BITs of codebookSubsetRestrictionR10 Int8 numOfcodebookSubsetRestrictionR11InBit ; // The IE AntennaInfoDedConfigId is used to identify a set of dedicated antenna configuration parameters that // is configured by the IE AntennaInfoDedConfig. The identity is unique within the scope of a carrier frequency. // Value range: 1 to 8 Int8 antennaInfoDedConfigId_r11 ; Int8 reserved0 ; Int8 reserved1 ; // codebookSubsetRestriction , see TS 36.213000 [ 23 , 7.200000 ] and TS 36.211000 [ 21 , 6.300000 .4.2.3 ] . The number of bits in the codebookSubsetRestriction for applicable transmission modes is defined in TS 36.213000 [ 23 , Table 7.200000 -1b ] Int8 codebookSubsetRestrictionR10 [ 14 ] ; Int8 reserved2 ; // CQ00107941 add due to LTE_MAX_CODEBOOK_RESTRICT_BYTE_LEN = 14 . Int8 reserved3 ; } LteAntennaInfoDedicatedR11; //ICAT EXPORTED STRUCT typedef struct LteAntennaInfoULR10Tag { // Points to one of UL Transmission modes defined in TS 36.213000 [ 23 , 8.000000 ] where value 1 refers to transmission mode 1 , value 2 to transmission mode 2 etc. Int8 transmissionModeUL_R10 ; // Parameter indicates if four antenna ports are used. See TS 36.213000 [ 23 , 8.200000 ] . E-UTRAN optionally configures fourAntennaPortActivated only if transmissionModeUL is set to tm2. // Value 0 for setup // Valid only when fourAntennaPortActivatedConfigType is LTE_SETUP_RRC_L1_CONFIG Int8 fourAntennaPortActivated ; Int8 reserved0 ; Int8 reserved1 ; // Config type of fourAntennaPortActivated LteRrcL1ConfigType transmissionModeUL_R10ConfigType ; LteRrcL1ConfigType fourAntennaPortActivatedConfigType ; } LteAntennaInfoULR10; //ICAT EXPORTED ENUM typedef enum LteAperiodicCsiTriggerR10ChoiceTag { LTE_AP_CSI_TROGGER_1 , // Corresponding to trigger1-r10 LTE_AP_CSI_TROGGER_2 , // Corresponding to trigger2-r10 LTE_AP_CSI_TROGGER_INVALID = 0x7FFFFFFF } LteAperiodicCsiTriggerR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicR10Tag { // Aperiodic CQI report mode LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Congfig type of aperiodicCsiTriggerR10 LteRrcL1ConfigType aperiodicCsiTriggerR10ConfigType ; // Bit string of trigger1-r10 / trigger2-r10 Int8 trigger1R10 ; Int8 trigger2R10 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiReportAperiodicR10; //ICAT EXPORTED ENUM typedef enum LteCsiSubframePatternConfigR10ChoiceTag { LTE_CSI_MEAS_SUBFRAME_SET1 , LTE_CSI_MEAS_SUBFRAME_SET2 , LTE_CSI_MEAS_SUBFRAME_SET_INVALID = 0x7FFFFFFF } LteCsiSubframePatternConfigR10Choice; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR10ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR10Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR10_CsiReportModeR10Tag { LTE_CSR_REPORTMODE_R10_SUBMODE_1 , LTE_CSR_REPORTMODE_R10_SUBMODE_2 , LTE_CSR_REPORTMODE_R10_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR10_CsiReportModeR10; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR10Tag { LTE_PERIODIC_FACTOR_R10_N2 , LTE_PERIODIC_FACTOR_R10_N4 , LTE_PERIODIC_FACTOR_R10_INVALID = 0x7FFFFFFF } LtePeriodicFactorR10; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR10Tag { LteCqiFormatIndicatorPeriodicR10Choice cqiFormatIndicatorPeriodicR10Choice ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteRrcL1ConfigType wideBandCqiR10_CsiReportModeR10ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_WIDEBAND LteWideBandCqiR10_CsiReportModeR10 wideBandCqiR10_CsiReportModeR10 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND LtePeriodicFactorR10 periodicFactorR10 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR10Tag { LteRrcL1ConfigType riConfigIndex2R10ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R10 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R10 ; } LteCsiConfigIndexR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicR10Tag { LteRrcL1ConfigType cqiPucchResourceIndexP1R10ConfigType ; LteRrcL1ConfigType riConfigIndexConfigType ; LteRrcL1ConfigType cqiMaskR9ConfigType ; LteRrcL1ConfigType csiConfigIndexR10ConfigType ; LteCqiFormatIndicatorPeriodicR10 cqiFormatIndicatorPeriodicR10 ; // Value range: 0 to 1184 Int16 cqiPucchResourceIndexR10 ; // Value range: 0 to 1184 // Valid only when cqiPucchResourceIndexP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPucchResourceIndexP1R10 ; // Value range: 0 to 1023 // Valid only when cqiPmiConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 cqiPmiConfigIndex ; // Value range: 0 to 1023 // Valid only when riConfigIndexConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex ; Boolean simultaneousAckNackAndCqi ; // Value range: 0 for setup Int8 cqiMaskR9 ; Int8 reserved0 ; Int8 reserved1 ; LteCsiConfigIndexR10 csiConfigIndexR10 ; } LteCqiReportPeriodicR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigR10Tag { // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 SignedInt8 nomPdschRsEpreOffset ; // Value 0 stands for setup , valid only when pmiRiReportR9ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR9 ; Int16 reserved0 ; // Congfig type of cqiReportAperiodicR10 LteRrcL1ConfigType cqiReportAperiodicR10ConfigType ; LteCqiReportAperiodicR10 cqiReportAperiodicR10 ; LteRrcL1ConfigType cqiReportPeriodicR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicR10 ; // Config type of pmiRiReportR9 LteRrcL1ConfigType pmiRiReportR9ConfigType ; // Config type of csiSubframePatternConfigR10 LteRrcL1ConfigType csiSubframePatternConfigR10ConfigType ; // Valid only when csiSubframePatternConfigR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteMeasSubframePatternR10 csiMeasSubframePatternSet1R10 ; LteMeasSubframePatternR10 csiMeasSubframePatternSet2R10 ; } LteCqiReportConfigR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigScellR10Tag { LteRrcL1ConfigType cqiReportModeAperiodicR10CongfigType ; LteAperiodicCqiReportMode cqiReportModeAperiodicR10 ; // Delta_offset , see TS 36.213000 [ 23 , 7.200000 .3 ] , L1 should calculate actual value= IE value * 2 [ dB ] // value range:-1~6 Int8 nomPdschRsEpreOffsetR10 ; // CQ00107668 mod Value range: 0 for setup Int8 /*Boolean*/ pmiRiReportR10 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType cqiReportPeriodicScellR10ConfigType ; LteCqiReportPeriodicR10 cqiReportPeriodicScellR10 ; } LteCqiReportConfigScellR10; //ICAT EXPORTED ENUM typedef enum LteCqiFormatIndicatorPeriodicR11ChoiceTag { LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND , LTE_CQI_FRORMAT_IND_PERIODIC_R11_INVALID = 0x7FFFFFFF } LteCqiFormatIndicatorPeriodicR11Choice; //ICAT EXPORTED ENUM typedef enum LteWideBandCqiR11_CsiReportModeR11Tag { LTE_CSR_REPORTMODE_R11_SUBMODE_1 , LTE_CSR_REPORTMODE_R11_SUBMODE_2 , LTE_CSR_REPORTMODE_R11_SUBMODE_INVALID = 0x7FFFFFFF } LteWideBandCqiR11_CsiReportModeR11; //ICAT EXPORTED ENUM typedef enum LtePeriodicFactorR11Tag { LTE_PERIODIC_FACTOR_R11_N2 , LTE_PERIODIC_FACTOR_R11_N4 , LTE_PERIODIC_FACTOR_R11_INVALID = 0x7FFFFFFF } LtePeriodicFactorR11; //ICAT EXPORTED STRUCT typedef struct LteCqiFormatIndicatorPeriodicR11Tag { LteCqiFormatIndicatorPeriodicR11Choice cqiFormatIndicatorPeriodicR11Choice ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteRrcL1ConfigType wideBandCqiR11_CsiReportModeR11ConfigType ; // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_WIDEBAND LteWideBandCqiR11_CsiReportModeR11 wideBandCqiR11_CsiReportModeR11 ; // Valid only when cqiFormatIndicatorPeriodicR10Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND LtePeriodicFactorR11 periodicFactorR11 ; // Value range: 1 to 4 // Valid only when cqiFormatIndicatorPeriodicR11Choice is LTE_CQI_FRORMAT_IND_PERIODIC_R11_SUBBAND Int8 k ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCqiFormatIndicatorPeriodicR11; //ICAT EXPORTED STRUCT typedef struct LteCsiConfigIndexR11Tag { LteRrcL1ConfigType riConfigIndex2R11ConfigType ; // Value Range: 0 to 1023 Int16 cqiPmiConfigIndex2R11 ; // Value Range: 0 to 1023 // Valid only when riConfigIndex2R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndex2R11 ; } LteCsiConfigIndexR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicExtR11Tag { // The IE CQI-ReportPeriodicExtId is used to identify a periodic CQI reporting configuration that E-UTRAN may // configure in addition to the configurations specified through REL-10 i.e. by the IE CQI-ReportPeriodicExt-r11. // The identity is unique within the scope of a carrier frequency. // Value range: 1 to 3 Int8 cqiReportPeriodicExtIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteRrcL1ConfigType riConfigIndexR11ConfigType ; // Value range: 0 to 1023 Int16 cqiPmiConfigIndexR11 ; // value range: 0 to 1023 // Valid only when riConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 riConfigIndexR11 ; LteCqiFormatIndicatorPeriodicR11 cqiFormatIndicatorPeriodicR11 ; LteRrcL1ConfigType csiConfigIndexR11ConfigType ; // Valid only when csiConfigIndexR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiConfigIndexR11 csiConfigIndexR11 ; } LteCqiReportPeriodicExtR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportAperiodicPsR11Tag { LteAperiodicCqiReportMode cqiReportModeAperiodicR11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 1 , // for a CSI request applicable for the serving cell on the same frequency as the CSI process. Boolean trigger01R11 ; // Indicates whether or not reporting for this CSI-process is triggered by CSI request field set to 10 or 11 . // EUTRAN configures at most 5 CSI processes , across all serving frequencies , to be triggered by a CSI request field set to value 10 . // The same restriction applies for value 11 . Boolean trigger10R11 ; Boolean trigger11R11 ; Int8 reserved0 ; } LteCqiReportAperiodicPsR11; //ICAT EXPORTED ENUM typedef enum LteScheduleingCellInfoR10ChoiceTag { LTE_SCH_CELL_INFO_OWN_R10 , LTE_SCH_CELL_INFO_OWN_OTHER , LTE_SCH_CELL_INFO_OWN_INVALID = 0x7FFFFFFF } LteScheduleingCellInfoR10Choice; //ICAT EXPORTED STRUCT typedef struct LteCrossCarrierScheduleConfigTag { LteScheduleingCellInfoR10Choice scheduleingCellInfoR10Choice ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_R10 Boolean ownR10_PresenceR10 ; // The IE ServCellIndex concerns a short identity , used to identify a serving cell ( i.e. the PCell or an SCell ) . // Value 0 applies for the PCell , while the SCellIndex that has previously been assigned applies for SCells. // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 0 to 7 Int8 otherR10_SchedulingCellIdR10 ; // Valid when LteScheduleingCellInfoR10Choice is LTE_SCH_CELL_INFO_OWN_OTHER // Value range: 1 to 4 Int8 otherR10_PdschStartR10 ; Int8 reserved0 ; } LteCrossCarrierScheduleConfig; //ICAT EXPORTED STRUCT typedef struct LteCsiImConfigR11Tag { // The IE CSI-IM-Identity is used to identify a CSI-IM configuration that is configured by the IE CSI-IM-Config. // The identity is unique within the scope of a carrier frequency // Value range :0 to 3 Int8 csiImIdentityR11 ; // Parameter: CSI-IM configuration , see TS 36.211000 [ 21 , table 6.100000 .5.2-1 and 6.100000 .5.2-2 ] for 4 REs. // Value range: 0 to 15 Int8 resourceConfigR11 ; // Value range:0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; } LteCsiImConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePCAntennaInfoDedR11Tag { // Value range: -8 to 15 SignedInt8 pCR11 ; // Value range: 1 to 8 Int8 antennaInfoDedConfigIdR11 ; Int8 reserved0 ; Int8 reserved1 ; } LtePCAntennaInfoDedR11; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothPsR11Tag { LteRrcL1ConfigType riRefCsiProcessIdR11ConfigType ; LteRrcL1ConfigType pmiRiReportR11ConfigType ; // Value range: 1 to 4 // valid only when riRefCsiProcessIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 riRefCsiProcessIdR11 ; // Value range: 0 for setup // Valid only when pmiRiReportR11ConfigType is is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 pmiRiReportR11 ; Int8 reserved0 ; Int8 reserved1 ; } LteCqiReportBothPsR11; //ICAT EXPORTED STRUCT typedef struct LteCsiProcessR11Tag { LteRrcL1ConfigType cqiReportPeriodicIdR11ConfigType ; // Value range: 1 to 4 Int8 csiProcessIdentityR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 to 3 Int8 csiImIdentityR11 ; // Value range: 0 to 3 // Valid only when cqiReportPeriodicIdR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 cqiReportPeriodicIdR11 ; // Num of element in pCAntennaInfoDedListR11 , value range: 1 ro 2 Int8 numOfpCAntennaInfoDedR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePCAntennaInfoDedR11 pCAntennaInfoDedListR11 [ 2 ] ; LteRrcL1ConfigType cqiReportBothPsR11ConfigType ; LteCqiReportBothPsR11 cqiReportBothPsR11 ; LteRrcL1ConfigType cqiReportAperiodicPsR11ConfigType ; // Valid only when cqiReportAperiodicPsR11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCqiReportAperiodicPsR11 cqiReportAperiodicPsR11 ; } LteCsiProcessR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsR10Tag { // Value range: 1 for an1 , 2 for an2 , 4 for an4 , 8 for an8 Int8 antennaPortsCountR10 ; // value range: 0 to 31 Int8 resourceConfigR10 ; // value range: 0 to 154 Int8 subframeConfigR10 ; // value range: -8 to 15 SignedInt8 pCR10 ; } LteCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteZeroTxPowerCsiRsR10Tag { // Value range:0 to 154 Int8 zeroTxPowerSubframeConfigR10 ; // Num of element in zeroTxPowerResourceConfigList in BITs ; value range:1 to 16 Int8 bitNumOfzeroTxPowerResourceConfigList ; // Bitstring of zeroTxPowerResourceConfigList-r10 , LSB of zeroTxPowerResourceConfigList [ 0 ] corresponds to LSB of the BIT string Int16 /* 0 to 65535 */ zeroTxPowerResourceConfigList ; // Int8 numOfBitsInZeroTxPowerResourceConfigList ; // CQ00059535 Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; } LteZeroTxPowerCsiRsR10; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigR10Tag { LteRrcL1ConfigType csiRsR10ConfigType ; // Valid only when csiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteCsiRsR10 csiRSR10 ; LteRrcL1ConfigType zeroTxPowerCsiRsR10ConfigType ; // Valid only when zeroTxPowerCsiRsR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG LteZeroTxPowerCsiRsR10 zeroTxPowerCsiRsR10 ; } LteCsiRsConfigR10; //ICAT EXPORTED ENUM typedef enum LteSubframeAallocationChoiceTag { LTE_SF_ALLOC_CONFIG_ONEFRAME , LTE_SF_ALLOC_CONFIG_FOURFRAME , LTE_SF_ALLOC_CONFIG_INVALID = 0x7FFFFFFF } LteSubframeAallocationChoice; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubframeConfigTag { // Value range: 1 , 2 , 4 , 8 , 16 , 32 Int8 radioframeAllocationPeriod ; // Value range: 0 to 7 Int8 radioframeAllocationOffset ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME Int8 numOfBitsInOneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE Int8 numOfBitsInFourFrames ; LteSubframeAallocationChoice subframeAllocationChoice ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_ONEFRAME // LSB corresponds to the LSB of BITSTRING Int8 oneFrame ; // Valid when subframeAllocationChoice is LTE_SF_ALLOC_CONFIG_FOURFRANE // LSB of fourFrames [ 0 ] corresponds to the LSB of BITSTRING Int8 fourFrames [ 3 ] ; } LteMbsfnSubframeConfig; //ICAT EXPORTED STRUCT typedef struct LteQclCrsInfoR11Tag { // Value range: 0 to 503 Int16 qciScramblingIdentityR11 ; // Value range: 1 , 2 , 4 , 8 Int8 crsPortsCountR11 ; Int8 numOfmbsfnSuframeConfigR11InList ; LteRrcL1ConfigType mbsfnSuframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSuframeConfigR11 [ 8 ] ; } LteQclCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigNzpR11Tag { // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; // Value range: 1 , 2 , 4 , 8 Int8 antennaPortsCountR11 ; // Value range: 0 to 31 Int8 resourceConfigR11 ; // Value range: 0 to 154 Int8 subframeConfigR11 ; // Value range: 0 to 503 Int16 scramblingIdentityR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType qclCrsInfoR11ConfigType ; LteQclCrsInfoR11 qclCrsInfoR11 ; } LteCsiRsConfigNzpR11; //ICAT EXPORTED STRUCT typedef struct LteCsiRsConfigZpR11Tag { // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; Int8 numOfBitsInResourceConfigListR11 ; // LSB of resourceConfigListR11 [ 0 ] corresponds to LSB of the BIT STRING Int16 /* 0 to 65535 */ resourceConfigListR11 ; // value range: 0 to 154 Int8 subframeConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteCsiRsConfigZpR11; //ICAT EXPORTED ENUM typedef enum LteEpdcchTransmissionTypeR11Tag { LTE_EPDCCH_TRANS_TYPE_R11_LOCALISED , LTE_EPDCCH_TRANS_TYPE_R11_DISTRIBUTED , LTE_EPDCCH_TRANS_TYPE_R11_INVALID = 0x7FFFFFFF } LteEpdcchTransmissionTypeR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchSetConfigR11Tag { // LSB of resourceBlockAssignmentR11 [ 0 ] corresponds to the LSB of the BIT string Int8 resourceBlockAssignmentR11 [ 5 ] ; // Value range:0 to 1 Int8 epdcchSetIdentityR11 ; // value range:2 , 4 , 8 Int8 numberPrbPairsR11 ; // Value range: 4 to 38 Int8 numOfBitsInresourceBlockAssignmentR11 ; LteEpdcchTransmissionTypeR11 epdcchTransmissionTypeR11 ; // Value range: 0 to 503 Int16 dmrsScramblingSequenceIntR11 ; // Value range:0 t0 2047 Int16 pucchResourceStartOffsetR11 ; LteRrcL1ConfigType reMappingQclConfigListIdConfigType ; // Value range: 1 to 4 Int8 reMappingQclConfigListId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteEpdcchSetConfigR11; //ICAT EXPORTED STRUCT typedef struct LteEpdcchConfigR11Tag { // Config type of epdcchSubframePatternR11 LteRrcL1ConfigType epdcchSubframePatternR11ConfigType ; LteMeasSubframePatternR10 epdcchSubframePatternR11 ; // LteRrcL1ConfigType epdcchStartSymbolR11ConfigType ; // Value range: 1 to 4 Int8 epdcchStartSymbolR11 ; // value range: 0 to 2 Int8 numOfEpdcchSetConfigR11 ; Int8 reserved0 ; Int8 reserved1 ; LteEpdcchSetConfigR11 epdcchSetConfigR11 [ 2 ] ; } LteEpdcchConfigR11; //ICAT EXPORTED STRUCT typedef struct LteSecTagR11Tag { // value range: 1 to 3 Int8 secTagIdR11 ; Int8 reserved0 ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; } LteSecTagR11; //ICAT EXPORTED ENUM typedef enum LteDmRsConfigR11ChoiceTag { Lte_DmRs_Config_R11_Scr_Id , Lte_DmRs_Config_R11_Scr_Id2 , Lte_DmRs_Config_R11_Scr_Invalid = 0x7FFFFFFF } LteDmRsConfigR11Choice; //ICAT EXPORTED STRUCT typedef struct LteDmRsConfigR11Tag { LteDmRsConfigR11Choice dmRsConfigR11Choice ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id Int16 scramblingIdentityR11 ; // Value range: 0 to 503 // Valid only when dmRsConfigR11Choice is Lte_DmRs_Config_R11_Scr_Id2 Int16 scramblingIdentity2R11 ; } LteDmRsConfigR11; //ICAT EXPORTED ENUM typedef enum LteQclOperationTag { LTE_QCL_OPER_TYPE_A , LTE_QCL_OPER_TYPE_B , LTE_QCL_OPER_TYPE_INVALID = 0x7FFFFFFF } LteQclOperation; //ICAT EXPORTED ENUM typedef enum LtePdschStartR11Tag { LTE_PDSCH_SF_CONFIG_R11_RESERVED , LTE_PDSCH_SF_CONFIG_R11_N1 , LTE_PDSCH_SF_CONFIG_R11_N2 , LTE_PDSCH_SF_CONFIG_R11_N3 , LTE_PDSCH_SF_CONFIG_R11_N4 , LTE_PDSCH_SF_CONFIG_R11_ASSIGNED , LTE_PDSCH_SF_CONFIG_R11_INVALID = 0x7FFFFFFF } LtePdschStartR11; //ICAT EXPORTED STRUCT typedef struct LteOptionalSetOfFieldsR11Tag { // Value range: 1 , 2 , 4 Int8 crsPortsCountR11 ; // Value range: 1 to 5 Int8 csrFreqShiftR11 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType mbsfnSubframeConfigR11ConfigType ; LteMbsfnSubframeConfig mbsfnSubframeConfigR11 ; LtePdschStartR11 pdschStartR11 ; } LteOptionalSetOfFieldsR11; //ICAT EXPORTED STRUCT typedef struct LtePdschReMappingQclConfigR11Tag { LteRrcL1ConfigType csiRsIdentityNzpR11ConfigType ; // Value range: 1 to 4 Int8 pdschReMappingQclConfigIdR11 ; // Value range: 1 to 4 Int8 csiRsIdentityZpR11 ; // Value range: 1 to 3 Int8 csiRsIdentityNzpR11 ; Int8 reserved0 ; // LteRrcL1ConfigType optionalSetOfFieldsR11ConfigType ; LteOptionalSetOfFieldsR11 optionalSetOfFieldsR11 ; } LtePdschReMappingQclConfigR11; //ICAT EXPORTED STRUCT typedef struct LtePdschConfigDedicatedV11xyTag { LteRrcL1ConfigType dmRsConfigPdschR11ConfigType ; LteDmRsConfigR11 dmRsConfigPdschR11 ; LteRrcL1ConfigType qclOperationConfigType ; LteQclOperation qclOperation ; // Value range: 0 to 4 // If pdschReMappingQclConfigR11List is not present , this value should be 0 Int8 numOfPdschReMappingQclConfigR11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LtePdschReMappingQclConfigR11 pdschReMappingQclConfigR11List [ 4 ] ; } LtePdschConfigDedicatedV11xy; //ICAT EXPORTED ENUM typedef enum LtePucchFormatR10ChoiceTag { LTE_PUCCH_FORMAT_R10_FORMAT3_R10 , LTE_PUCCH_CHANNEL_SELECTION_R10 , LTE_PUCCH_CHANNEL_SELECTION_INVALID = 0x7FFFFFFF } LtePucchFormatR10choice; //ICAT EXPORTED STRUCT typedef struct LteFormat3R10Tag { LteRrcL1ConfigType n3PucchAnListR10ConfigType ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat3R10ConfigType ; // Value range: 1 to 4 // Valid only when n3PucchAnListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InList ; // Value range: 1 to 4 // Valid only when twoAntennaPortActivatedPucchFormat3R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN3PucchAnR10InListP1 ; Int8 reserved0 ; Int8 reserved1 ; // Value range: 0 to 549 Int16 n3PucchAnR10 [ 4 ] ; // Value range: 0 to 549 Int16 n3PucchAnP1R10 [ 4 ] ; } LteFormat3R10; //ICAT EXPORTED STRUCT typedef struct LteN1PucchANCsR10Tag { // Value range: 1 to 4 Int8 numOfN1PucchAnCsR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsR10 [ 4 ] ; } LteN1PucchANCsR10; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionR10Tag { LteRrcL1ConfigType n1PucchAnCsListR10ConfigType ; // Value range: 1 to 2 // Valid only when n1PucchAnCsListR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchANCsR10InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteN1PucchANCsR10 n1PucchANCsR10List [ 2 ] ; } LteChannelSelectionR10; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatR10Tag { LtePucchFormatR10choice puchhFormatR10Choice ; LteFormat3R10 format3R10 ; LteChannelSelectionR10 channelSelectionR10 ; } LtePucchFormatR10; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV1020Tag { LteRrcL1ConfigType pucchFormatR10ConfigType ; LtePucchFormatR10 pucchFormatR10 ; LteRrcL1ConfigType twoAntennaPortActivatedPucchFormat1a1bR10ConfigType ; LteRrcL1ConfigType simultaneousPucchPuschR10ConfigType ; LteRrcL1ConfigType n1PucchAnRepP1R10ConfigType ; // Value range: 0 for true // Valid only when twoAntennaPortActivatedPucchFormat1a1bR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 twoAntennaPortActivatedPucchFormat1a1bR10 ; // Value range: 0 for true // Valid only when simultaneousPucchPuschR10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simultaneousPucchPuschR10 ; // Value range: 0 to 2047 // Valid only when n1PucchAnRepP1R10ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int16 n1PucchAnRepP1R1 ; } LtePucchConfigDedicatedV1020; //ICAT EXPORTED ENUM typedef enum LtePucchFormatV11x0ChoiceTag { LTE_PUCCH_FORMAT_V11x0_CHAN_SELECTION_V11x0 , LTE_PUCCH_FORMAT_V11x0_INVALID = 0x7FFFFFFF } LtePucchFormatV11x0choice; //ICAT EXPORTED STRUCT typedef struct LteChannelSelectionV11x0Tag { LteRrcL1ConfigType n1PucchAnCsV11x0CongfigType ; // Value range: 2 to 4 // Valid only when n1PucchAnCsV11x0CongfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 numOfN1PucchAnCsListP1R11InList ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // Value range: 0 to 2047 Int16 n1PucchAnCsListP1R11InList [ 4 ] ; } LteChannelSelectionV11x0; //ICAT EXPORTED STRUCT typedef struct LtePucchFormatV11x0Tag { LtePucchFormatV11x0choice pucchFormatV11x0Choice ; LteChannelSelectionV11x0 channelSelectionV11x0 ; } LtePucchFormatV11x0; //ICAT EXPORTED STRUCT typedef struct LteNPucchParamR11Tag { // Value range: 0 to 503 Int16 nPucchIndetityR11 ; // Value range: 0 to 2047 Int16 n1PucchAnR11 ; } LteNPucchParamR11; //ICAT EXPORTED STRUCT typedef struct LtePucchConfigDedicatedV11x0Tag { LteRrcL1ConfigType pucchFormatV11x0ConfigType ; LtePucchFormatV11x0 pucchFormatV11x0 ; LteRrcL1ConfigType nPucchParamR11ConfigType ; LteNPucchParamR11 nPucchRaramR11 ; } LtePucchConfigDedicatedV11x0; //ICAT EXPORTED STRUCT typedef struct LteBetaOffsetMcR10Tag { // Value range: 0 to 15 Int8 betaOffsetAckIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetRiIndexMcR10 ; // Value range: 0 to 15 Int8 betaOffsetCqiIndexMcR10 ; Int8 reserved0 ; } LteBetaOffsetMcR10; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1020Tag { LteRrcL1ConfigType betaOffsetMcR10ConfigType ; LteBetaOffsetMcR10 betaOffsetMcR10 ; LteRrcL1ConfigType groupHoppingDisabledR10ConfigType ; LteRrcL1ConfigType dmrsWithOccActivatedR10ConfigType ; // Value range: 0 for setup Int8 groupHoppingDisabledR10 ; // Value range: 0 for setup Int8 dmrsWithOccActivatedR1 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LtePuschDmrsR11Tag { // Value range: 0 to 509 Int16 nPuschIdentityR11 ; // Value range: 0 to 509 Int16 nDmrsCshIdentityR11 ; } LtePuschDmrsR11; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedV1130Tag { LteRrcL1ConfigType puschDmrsConfigType ; Int16 /* 0 to 509 */ nPuschIdentityR11 ; Int16 /* 0 to 509 */ nDMrsCshIdentityR11 ; } LtePuschConfigDedicatedV1130; //ICAT EXPORTED STRUCT typedef struct LtePuschConfigDedicatedScellR10Tag { // Value range: TRUE for setup Boolean groupHoppingDisabledR10 ; // Value range: true for setup Boolean dmrsWithOccActivatedR10 ; Int8 reserved0 ; Int8 reserved1 ; } LtePuschConfigDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteRachConfigCommonScellR11Tag { // Maximum number of preamble transmission , value range: ( 3 , 4 , 5 , 6 , 7 , 8 , 10 , 20 , 50 , 100 , 200 ) Int8 preambleTransMaxR11 ; // Power ramping factor , value range: ( 0 , 2 , 4 , 6 ) Int8 powerRampingStepR11 ; // Initial preamble power in TS 36.321000 [ 6 ] . Value in dBm , value range: ( -120 , -118 , -116 , -114 , -112 , // -110 , -108 , -106 , -104 , -102 , 100 , -98 , -96 , -94 , -92 , -90 ) SignedInt8 preambleInitialReceivedTargetPowerR11 ; Int8 reserved0 ; } LteRachConfigCommonScellR11; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonV1020Tag { // Value range: ( -1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 ) SignedInt8 deltaFPucchFormat3R10 ; // Value range: ( 1 , 2 ) Int8 deltaFPucchFormat1bCsR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlCommonSCellR10Tag { // Value range: -126 to 24 SignedInt8 p0NominalPuschFormat3R10 ; // Value range: 0 for 0 , 4 for 0.400000 , 5 for 0.500000 , 6 for 0.600000 , 7 for 0.700000 , 8 for 0.800000 , 9 for 0.900000 , 10 for 1.000000 // 104 for 1.040000 , 105 for 1.050000 , 106 for 1.060000 , 107 for 1.070000 , 108 for 1.080000 , 109 for 1.090000 , 11 for 1.100000 Int8 alphaR10 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlCommonSCellR10; //ICAT EXPORTED STRUCT typedef struct LteDeltaTxDOffsetListPucchR10Tag { // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1R10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat1a1bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat22a2bR10 ; // Value range: ( 0 , -2 ) SignedInt8 deltaTxDOffsetPucchFormat3R10 ; } LteDeltaTxDOffsetListPucchR10; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV1020Tag { LteRrcL1ConfigType deltaTxDOffsetListPucchR10ConfigType ; LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; LteDeltaTxDOffsetListPucchR10 deltaTxDOffsetListPucchR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteUplinkPowerControlDedicatedV1020; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedV11xyTag { // Value range: Frue means setup , False means Release Boolean pSrsOffsetV1130Setup ; // Value range: Frue means setup , False means Release Boolean pSrsOffsetApV1130Setup ; // Value range: Frue means setup , False means Release Boolean deltaTxDOffsetListPUCCHv1130Setup ; // Value range: -1 , 0 Db SignedInt8 deltaTxDOffsetPUCCHFormat1bCSr11 ; // Value range: 16 to 31 Int8 pSrsOffsetV1130 ; // Value range: 16 to 31 Int8 pSrsOffsetApV1130 ; Int8 reserved0 ; Int8 reserved1 ; } LteUplinkPowerControlDedicatedV11xy; //ICAT EXPORTED STRUCT typedef struct LteUplinkPowerControlDedicatedScellR10Tag { LteRrcL1ConfigType pSrsOffsetApR10ConfigType ; // Value range: -8 to 7 SignedInt8 p0UePuschR10 ; // Value range: 0 for en0 , 1 for en1 Int8 deltaMcsEnabledR10 ; // Value range: True , False Boolean accumulationEnabledR10 ; // value range: 0 to 15 Int8 pSrsOffsetR10 ; // Value range: 0 to 15 Int8 pSrsOffsetApR10 ; // Value range: 0 for pCell , 1 for sCell Int8 pathlossReferenceLinkingR10 ; // 0 for fc0 , 1 for fc1 , and so on Int8 filterCoefficentR10 ; Int8 reserved0 ; } LteUplinkPowerControlDedicatedScellR10; //ICAT EXPORTED STRUCT typedef struct LteCqiReportPeriodicV1130Tag { LteRrcL1ConfigType simAckNackAndCqiFormat3R11ConfigType ; // Value 0 for setup // Valid only when simAckNackAndCqiFormat3R11ConfigType is LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG or LTE_NOTCHANGE_SETUP_RRC_L1_CONFIG Int8 simAckNackAndCqiFormat3R11 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; } LteCqiReportPeriodicV1130; //ICAT EXPORTED STRUCT typedef struct LteCqiReportBothR11Tag { // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCsiImConfigR11InList ; // Value range: 0 to 4 , 0 means the list doesn ' t exist Int8 numOfCsiProcessR11InList ; Int8 reserved0 ; Int8 reserved1 ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; } LteCqiReportBothR11; //ICAT EXPORTED STRUCT typedef struct LteSrsConfigR10Tag { // value range: ( 1 , 2 , 4 ) Int8 srsAntennaPortApR10 ; // Value range: ( 0 , 1 , 2 , 3 ) Int8 srsBandwidthApR10 ; // value range: 0 to 23 Int8 freqDomainPositionApR10 ; // Value range: 0 to 1 Int8 transmissionCombApR10 ; // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) Int8 cyclicShiftApR10 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteSrsConfigR10; //ICAT EXPORTED STRUCT typedef struct LteSrsActivateApR10Tag { LteSrsConfigR10 srsConfigApDciFormat0R10 ; LteSrsConfigR10 srsConfigApDciFromat1a2b2cR10 ; } LteSrsActivateApR10; //ICAT EXPORTED STRUCT typedef struct LteSoundingRsUlConfigDedicatedAperiodicR10Tag { // Value range: 0 to 31 Int8 srsConfigIndexApR10 ; Boolean srsConfigDciFormat4R10Present ; // Value range: 1 to 3 , valid only when srsConfigDciFormat4R10ConfigType is Setup Int8 numOfSrsConfigApDciFormat4R10 ; Int8 reserved0 ; LteSrsConfigR10 srsConfigDciFormatR10 [ 3 ] ; LteRrcL1ConfigType srsActivateApR10ConfigType ; LteSrsActivateApR10 srsActivateApR10 ; } LteSoundingRsUlConfigDedicatedAperiodicR10; //ICAT EXPORTED STRUCT typedef struct LteNonUlConfigurationR10Tag { Boolean antennaInfoR10Present ; Boolean crossCarrierSchedulingConfigR10Preset ; Boolean csiRsConfigR10Present ; Boolean pdschConfigDedicatedR10Present ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteCrossCarrierScheduleConfig crossCarrierSchedulingConfigR10 ; LteCsiRsConfigR10 csiRsConfigR10 ; LtePaEnum pdschConfigDedicatedR10 ; } LteNonUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10Tag { Boolean antennaInfoUlR10Present ; Boolean puschConfigDedicatedScellR10Present ; Boolean uplinkPowerControlDedicatedScellR10Present ; Boolean cqiReportConfigScellR10Present ; Boolean soundingRsUlConfigDedicatedV1020Present ; // Value range: ( 1 , 2 , 4 ) Int8 soundingRsUlConfigDedicatedV1020 ; Int8 reserved0 ; Int8 reserved1 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedR10ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LtePuschConfigDedicatedScellR10 puschConfigDedicatedScellR10 ; LteUplinkPowerControlDedicatedScellR10 uplinkPowerControlDedicatedScellR10 ; LteCqiReportConfigScellR10 cqiReportConfigScellR10 ; LteSrsUlConfigDedicated soundingRsUlConfigDedicatedR10 ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; } LteUlConfigurationR10; //ICAT EXPORTED STRUCT typedef struct LteCrsAssistanceInfoTag { Int16 phyCellIdR11 ; Int8 antennaPortsCountR11 ; // Value range:0 to 8 Int8 numOfMbsfnSubframeConfigInList ; LteMbsfnSubframeConfig mbsfnSubframeConfigListR11 [ 8 ] ; } LteCrsAssistanceInfo; //ICAT EXPORTED STRUCT typedef struct LteUlConfigurationR10CommonTag { Earfcn ulCarrierFreqR10 ; /*CQ00107221 modify from Int16*/ // ul-Bandwidth , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 ulBandwidth ; // UE additioanl spectrum emission , value range:1~32 , see TS 36.101000 Table 6.200000 .4-1 Int8 additionalSpectrumEmissionScellR10 ; Int8 reserved1 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved2 ; LteUplinkPowerControlCommonSCellR10 uplinkPowerControlCommonSCellR10 ; LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; LteRrcL1ConfigType prachConfigSCellR10ConfigType ; // Value range: 0 to 63 ; valid only when prachConfigSCellR10ConfigType is SETUP or NOTCHANGE_SETUP Int8 prachConfigIndexR10 ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLengthR10 ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMaxR10 ; Int8 reserved0 ; LtePuschConfigCommon puschConfigCommonR10 ; // LteRrcL1ConfigType tddConfigR10ConfigType ; // Value only when tddConfigR10ConfigType is SETUP or SETUP_NOCHANGE // LteTddConfig tddConfigR10 ; } LteUlConfigurationR10Common; //ICAT EXPORTED STRUCT typedef struct LteMacMainConfigScellR11Tag { Int8 stagIdR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } LteMacMainConfigScellR11; //ICAT EXPORTED STRUCT typedef struct SCellMeasResultTag { Earfcn arfcnEutra ; // CQ00070565 Int16 physCellId ; SignedInt16 rsrp ; // CQ00070565 SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // CQ00120506 add Int8 reserved0 ; // CQ00107941 add for 32 bits struct alignment // Int8 reserved1 ; // CQ00120506 del } SCellMeasResult; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; Int8 mode ; /*For L1 freq lock purpose only. 0 : LTE_RRC_NOT_LOCK_FREQ 1 : LTE_RRC_LOCK_FREQ_ONLY , 2 : LTE_RRC_LOCK_FREQ_CELL , 3 : LTE_RRC_CELL_SYNC_DETECTION , 4 : LTE_RRC_DYNAMIC_STATIC_SEARCH / / CQ00090635 modify notes 5 : LTE_RRC_FG_PLMN_SEARCH 6 : enhance Freq list indication / / CQ00121709 add 7 : enhance search for power on 8 : redirection from other RAT to LTE / / CQ00130753 add 9 : shenzhen special TAC / / CQ00132575 add 10 : CMCC+B40 special case / / CQ00135573 add 11 : Jilin Shihe special TAC / / CQ00139457 add 0xFE :L1A_AWAKE_L1_SEARCH / / CQ00104332 add note , only used between PLMS and L1A */ // The information of each frequency , 8 inter freq + 1 intra-freq LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; PlmsSearchType searchType ; } EcphyFindCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellReselectionReqTag { L1ASimId simId ; // ARFCN of the frequency of the reselection target cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of the reselection target cell Int16 phyCellId ; Int8 reserved0 ; // CQ00107941 add for 32 bit strcut alignment Int8 reserved1 ; } EcphyCellReselectionReq; //ICAT EXPORTED STRUCT typedef struct EcphyFindCellCnfTag { L1ASimId simId ; // Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00121709 start modify*/ Boolean enhanceSearchStart ; /*CQ00121709 end modify*/ /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyFindCellCnf; typedef ErrcL1aEmptySignal EcphyFindNextCellReq ; typedef ErrcL1aEmptySignal EcphyFindCellAbortReq ; typedef ErrcL1aEmptySignal EcphyDrxFindCellAbortReq ; //ICAT EXPORTED STRUCT typedef struct EcphySyncStatusIndTag { L1ASimId simId ; // 0 : out-of-sync , 1 : in-sync Boolean inSyncFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphySyncStatusInd; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellReqTag { // 1 if modify this structure , should modify L1aTrimIpcStructureData ( ) . L1ASimId simId ; // Number of frequency UE should scan during finding cell Int8 numOfFreq ; // Number of band UE should scan during finding cell , valid only when numOfFreq=0 Int8 numOfBand ; Int8 seqNum ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; // The information of each frequency LteFreqCellInfo freqCellList [ 8 +1 ] ; // Band information Euband bandList [ 32 ] ; // CQ00121709 added begin Int8 mode ; /* 0 : NO USE 6 : enhance Freq list indication 9 : shenzhen special TAC / / CQ00132575 add 11 :shihe special TAC / / CQ00139457 add */ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // CQ00121709 added end } EcphyDrxFindCellReq; typedef ErrcL1aEmptySignal EcphyDrxFindNextCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Boolean cellDetected ; Int8 seqNum ; /*CQ00155678 add begin*/ /*CQ00155678 add end*/ Int8 reserved0 ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1 findCellResult ; // reserved position for L1 debug Int32 resevered ; /*CQ00118845 add begin*/ /*CQ00118845 add end*/ } EcphyDrxFindCellCnf; //ICAT EXPORTED ENUM typedef enum LteNbEnumTag { lte_fourT_nb , lte_twoT_nb , lte_oneT_nb , lte_halfT_nb , lte_quarterT_nb , lte_oneEighthT_nb , lte_oneSixteenthT_nb , lte_oneThirtySecondT_nb , LTE_NB_ENUM_INVALID = 0x7FFFFFFF // CQ00107941 modify } LteNbEnum; //ICAT EXPORTED STRUCT typedef struct LteTddConfigTypeTag { // Indicates DL / UL subframe configuration , as specified in TS 36.211000 [ 21 , table 4.200000 .2 ] . // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) Int8 subframeAssignment ; // Indicates Configuration as in TS 36.211000 [ 21 , table 4.200000 .1 ] // Value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ) Int8 specialSubframePatterns ; // when this flag is true , specialSubframePatterns can be 7 or 9 only Int8 reserved0 ; // Boolean tddConfigV1130Valid ; / *CQ00100497 modify* / Int8 reserved1 ; } LteTddConfigType; //ICAT EXPORTED STRUCT typedef struct LteMbsfnSubFrmCfgTag { Int8 rfAllocPeriod ; // 1 , 2 , 4 , 8 , 16 , 32 Int8 rfAllocOffset ; // value : 0 .. 7 Int8 subFrmAllocType ; // 0 : 1 SFN allocation ; 1 : 4 SFNs allocation Int8 reserved0 ; // pad the alignment Int32 subFrmAllocValue ; // BITSTRING ( SIZE ( 24 ) ) } LteMbsfnSubFrmCfg; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonSib1ConfigReq_R9Tag { // Configuration type of p-MAX LteRrcL1ConfigType pMaxConfigType ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Operating band indicator , value range:1~64 , Defined in TS 36.101000 [ 42 , table 5.500000 -1 ] . Int8 freqBandIndicator ; Boolean configOfReselectTargetCell ; // For serving cell , this value is FALSE ; for decoding reselection target cell ' s SIB2 purpose , this value is set to TRUE Int8 reserved0 ; // Configuration type of TddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; } EcphyRadioResourceCommonSib1ConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReq_R9Tag { // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigReqTag { L1ASimId simId ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // Common time alignment timer , value range: [ 500 , 750 , 1280 , 1920 , 2560 , 5120 , 10240 , 0xffff ( infinity ) ] Int16 timeAlignTimer ; // Actual modification period = modificationPeriodCoeff * defaultPagingCycle , valid when bcchConfigPresent is TRUE Int16 modificationPeriod ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // Uplink cyclic prefix length , where len1 ( 0 ) corresponds to normal cyclic prefix and len2 ( 1 ) corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // Value of Timer t310 , value range ( 0 , 50 , 100 , 200 , 500 , 1000 , 2000 ) Int16 t310 ; // number of consecutive " out-of-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 6 , 8 , 10 , 20 ) Int16 n310 ; // number of consecutive " in-sync " indications received from lower layers , value range ( 1 , 2 , 3 , 4 , 5 , 6 , 8 , 10 ) Int16 n311 ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; // Upgrade to R11 , start LteRrcL1ConfigType ulPowerCtrlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 ulPowerCtrlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; // a list of additionalS [ ectrumEmission , one for each frequency band included in // EcphyRadioResourceCommonSib1ConfigReq.multiBandsList , listed in the same order // Int8 multiBandInfoList [ 64 ] ; // Upgrade to R11 , end // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00125287 del , CQ00097433 add* / // CQ00112141 modify /*CQ00088738 start add*/ // #ifdef LTE_W_PS / *CQ00097779 del* / Int8 numOfMbsfnSubFrmCfg ; // used to indicate number of element in mbsfnSubFrmCfgList , both R9 and R10 need it Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; LteMbsfnSubFrmCfg mbsfnSubFrmCfgList [ 8 ] ; // used to present MBSFN-SubFrmCfg in SIB2 // #endif / *CQ00097779 del* / /*CQ00088738 end add*/ // #endif / *CQ00125287 del , CQ00097433 add* / } EcphyRadioResourceCommonConfigReq; //ICAT EXPORTED STRUCT typedef struct LteCqiReportConfigV1130Tag { LteCqiReportPeriodicV1130 cqiReportPeriodicV1130 ; LteCqiReportBothR11 cqiReportBothR11 ; } LteCqiReportConfigV1130; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReq_R9Tag { // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig_R9 macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig_R9 spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Int8 reserved0 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; } EcphyRadioResourceDedicatedConfigReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigReqTag { L1ASimId simId ; // Configuration type of macMainConfig LteRrcL1ConfigType macMainConfigCofigType ; // Configuration type of spsConfig LteRrcL1ConfigType spsConfigCofigType ; // Configuration type of pa LteRrcL1ConfigType paConfigType ; // p_a , see TS 36.213000 [ 23 , 5.200000 ] LtePaEnum pa ; // To specify the MAC main configuration for signalling and data radio bearers LteMacMainConfig macMainConfig ; // To specify the semi-persistent scheduling configuration LteSpsConfig spsConfig ; // Configuration type of pucchConfigDedicated LteRrcL1ConfigType pucchConfigDedicatedConfigType ; // Configuration type of puschConfigDedicated LteRrcL1ConfigType puschConfigDedicatedConfigType ; // Configuration type of ulPowerCtrlDedicated LteRrcL1ConfigType ulPowerCtrlDedicatedConfigType ; // Configuration type of tpcPdcchConfigPucch LteRrcL1ConfigType tpcPdcchConfigPucchConfigType ; // To specify the UE specific PUCCH configuration LtePucchConfigDedicated pucchConfigDedicated ; // To specify the UE specific PUSCH configuration LtePuschConfigDedicated puschConfigDedicated ; // To specify parameters for uplink power control in the dedicated signalling LteUlPowerCtrlDedicated ulPowerCtrlDedicated ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUCCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPucch ; // Configuration type of cqiReportConfig LteRrcL1ConfigType cqiReportConfigConfigType ; // Configuration type of tpcPdcchConfigPusch LteRrcL1ConfigType tpcPdcchConfigPuschConfigType ; // Configuration type of srsUlConfigDedicated LteRrcL1ConfigType srsUlConfigDedicatedConfigType ; // Configuration type of antennaInfoDedicated LteRrcL1ConfigType antennaInfoDedicatedConfigType ; // To specify the RNTIs and indexes in DCI format 3 / 3 A for PUSCH power control according to TS 36.212000 LteTpcPdcchConfig tpcPdcchConfigPusch ; // The IE CQI-ReportConfig is used to specify the CQI reporting configuration LteCqiReportConfig cqiReportConfig ; // To specify the uplink Sounding RS configuration LteSrsUlConfigDedicated srsUlConfigDedicated ; // To specify the UE specific antenna configuration respectively. LteAntennaInfoDedicated antennaInfoDedicated ; // Configuration type of srConfig LteRrcL1ConfigType srConfigConfigType ; // To control SR triggering on a logical channel basis when an uplink grant is configured , See TS 36.321000 Boolean logicalChannelSrMask [ 11 ] ; Boolean cifPresenceR10 ; // Int8 reserved1 ; // To specify the Scheduling Request related parameters LteSrConfig srConfig ; // Boolean phyConfigDedicatedV9x0Present ; // Configuration type of antennaInfoDedicatedV920 LteRrcL1ConfigType antennaInfoV920ConfigType ; // Configuration type of cqiReportConfigV920 LteRrcL1ConfigType cqiReportConfigV920ConfigType ; // The antenna info dediated for TS36.331-920 LteAntennaInfoDedicatedV920 antennaInfoDedicatedV920 ; // The cqi report config for TS36.331-920 LteCqiReportConfigV920 cqiReportConfigV920 ; // Upgrade to R11 , start LteRrcL1ConfigType antennaInfoR10ConfigType ; LteAntennaInfoDedicatedR10 antennaInfoR10 ; LteRrcL1ConfigType antennaInfoUlR10ConfigType ; LteAntennaInfoULR10 antennaInfoUlR10 ; LteRrcL1ConfigType cqiReportConfigR10ConfigType ; LteCqiReportConfigR10 cqiReportConfigR10 ; LteRrcL1ConfigType csiRsConfigR10ConfigType ; LteCsiRsConfigR10 csiRsConfigR10 ; LteRrcL1ConfigType pucchConfigDedicatedV1020ConfigType ; LtePucchConfigDedicatedV1020 pucchConfigDedicatedV1020 ; LteRrcL1ConfigType puschConfigDedicatedV1020ConfigType ; LtePuschConfigDedicatedV1020 puschConfigDedicatedV1020 ; LteRrcL1ConfigType schedulingRequestConfigV1020ConfigType ; LteRrcL1ConfigType additionalSpectrumEmissionPCellR10ConfigType ; // srPucchResourceIndexP1R10: Value range: 0 to 2047 , valid only when schedulingRequestConfigV1020ConfigType==SETUP Int16 srPucchResourceIndexP1R10 ; // Value range: 1 to 32 // Valid only when additionalSpectrumEmissionPCellR10ConfigType is setup Int8 additionalSpectrumEmissionPCellR10 ; // value range: 1 , 2 , 4 for an1 , an2 , an4. valid only when soundingRsUlConfigDedicatedV1020ConfigType==setup Int8 srsAntennaPortR10 ; LteRrcL1ConfigType soundingRsUlConfigDedicatedV1020ConfigType ; LteRrcL1ConfigType soundingRsUlConfigDedicatedAperiodicR10ConfigType ; LteSoundingRsUlConfigDedicatedAperiodicR10 soundingRsUlConfigDedicatedAperiodicR10 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV1020ConfigType ; LteUplinkPowerControlDedicatedV1020 uplinkPowerControlDedicatedV1020 ; // Value range: 0 to 3 , 0 means the list doesn ' t exist Int8 numOfCqiReportPeriodicExtR11InList ; // Value range: 0 to 3 , o means the list doesn ' t exist Int8 numOfCsiRsNzpR11InList ; // Value range: 0 t0 4 , 0 means the list doesn ' t exist Int8 numOfCsiRsZpR11InList ; // Value range: 0 t0 8 , 0 means the list doesn ' t exist Int8 numOfAntennaInfoDedicatedR11InList ; LteAntennaInfoDedicatedR11 antennaInfoDedicatedR11List [ 8 ] ; LteRrcL1ConfigType cqiReportConfigV1130ConfigType ; LteCqiReportConfigV1130 cqiReportConfigV1130 ; LteCqiReportPeriodicExtR11 cqiReportPeriodicExtR11List [ 3 ] ; LteCsiImConfigR11 csiImConfigR11InList [ 3 ] ; LteCsiProcessR11 csiProcessR11List [ 4 ] ; LteCsiRsConfigNzpR11 csiRsConfigNzpR11List [ 3 ] ; LteCsiRsConfigZpR11 csiRsConfigZpR11List [ 4 ] ; LteRrcL1ConfigType epdcchConfigR11ConfigType ; LteEpdcchConfigR11 epdccpConfigR11 ; LteRrcL1ConfigType pdschConfigDedicatedV11xyConfigType ; LtePdschConfigDedicatedV11xy pdschConfigDedicatedV11xy ; LteRrcL1ConfigType pucchConfigDedicatedV1130ConfigType ; LtePucchConfigDedicatedV1130 pucchConfigDedicatedV1130 ; LteRrcL1ConfigType puschConfigDedicatedV1130ConfigType ; LtePuschConfigDedicatedV1130 puschConfigDedicatedV1130 ; LteRrcL1ConfigType uplinkPowerControlDedicatedV11xyConfigType ; LteUplinkPowerControlDedicatedV11xy uplinkPowerControlDedicatedV11xy ; // Upgrade to R11 , end LteMacMainConfigR13 macMainConfigR13 ; } EcphyRadioResourceDedicatedConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceDedicatedConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceDedicatedConfigScell radioResourceDedicatedConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceDedicatedConfigScellReq; //ICAT EXPORTED STRUCT typedef struct EcphyRadioResourceCommonConfigScellReqTag { L1ASimId simId ; Int8 numOfScellToRelease ; Int8 scellIndexToReleaseList [ 4 ] ; Int8 numOfScellToAddMod ; Int8 scellIndexToAddModList [ 4 ] ; LteRadioResourceCommonConfigScell radioResourceCommonConfigScellList [ 4 ] ; /*CQ00103964 end add*/ } EcphyRadioResourceCommonConfigScellReq; //ICAT EXPORTED STRUCT typedef struct LteNeighCellsCrsInfoR11Tag { Int8 numOfAssistanceInfoR11 ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; LteCrsAssistanceInfo assistanceInfoListR11 [ 8 ] ; } LteNeighCellsCrsInfoR11; //ICAT EXPORTED STRUCT typedef struct EcphyMeasSubframePatternPCellConfigReqTag { L1ASimId simId ; LteRrcL1ConfigType measSubframePatternPCellR10Configtype ; LteMeasSubframePatternR10 measSubframePatternPCellR10 ; LteRrcL1ConfigType neighCellsCrsInfoR11ConfigType ; LteNeighCellsCrsInfoR11 neighCellsCrsInfoR11 ; } EcphyMeasSubframePatternPCellConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchReqTag { L1ASimId simId ; // Flag indicates whether SIB is needed in this request , Boolean sib1Needed ; // cmni: comment , when require SIB1 , MIB will automatically sent by L1 // Si-Window length index , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList Int32 reqBitmap ; // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchReqTag { L1ASimId simId ; // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; Int8 reserved2 ; /*CQ00107941 add for 32 bit struct alignment*/ /*CQ00110080 start modify*/ Boolean isForLAndG ; // TRUE: LTE PLMN@GSM + LTE ( this card LTE and other card GSM ) , otherwise FALSE. /*CQ00110080 end modify*/ // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Flag indicates whether SIB is needed in this request , if TRUE , neglect other IEs below Boolean sib1Needed ; // Si-Window length , value range: ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) , which stands for the ( 1 , 2 , 5 , 10 , 15 , 20 , 40 ) in ms Int8 siWindowLengthIndex ; Int8 reserved0 ; Int8 reserved1 ; // To indicate which SI-window L1 should decode , equals to the index in SchedulingInfoList // For receiving SIB2 of neighbor cell only in current design Int32 reqBitmap ; // Int8 numOfPeriodicity ; // [ 1 , 32 ] // For each bit 1 in reqBitmap , this array indicates a periodcity , value range ( 8 , 16 , 32 , 64 , 128 , 256 , 512 ) Int16 siPeriodicity [ 32 ] ; } EcphyNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyNcellBchStopReqTag { L1ASimId simId ; // To stop all SIB x decoding Boolean stopAll ; // Only to stop SIB1 decoding Boolean sib1Stopped ; Int8 reserved0 ; Int8 reserved1 ; // To stop decoding the SI-windows indicated by the reqBitmap , the bit 1 position corresponds to the index in SchedulingInfoList Int32 reqBitmap ; } EcphyNcellBchStopReq; //ICAT EXPORTED STRUCT typedef struct EcphyEcgiBchReqTag { L1ASimId simId ; // Frequency , support TDD / FDD Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell Id of neighbor cell , value range:0~503 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 reserved0 ; } EcphyEcgiBchReq , // For LTE CGI report // CQ00036244 for support IRAT CGI EcphyTddUtraCgiReq , // For TD CGI report @ LTE EcphyFddUtraCgiReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmCgiReqTag { L1ASimId simId ; // Frequency , support Gsm Int16 arfcn ; // Physical cell Id of neighbor cell , value range:0~1023 Int16 phyCellId ; // if siRequestForHo is TRUE , UE is allowed to use autonomous gaps , applies a different value for T321 , and includes different fields in the measurement report. Boolean siRequestForHo ; Int8 bandIndicator ; /*CQ00086135 add start*/ /*CQ00086135 end start*/ } EcphyGsmCgiReq; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopReq ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraCgiStopCnf ; typedef ErrcL1aEmptySignal EcphyGsmCgiStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphySfnBoundaryReqTag { L1ASimId simId ; Int32 boundary ; } EcphySfnBoundaryReq; typedef ErrcL1aEmptySignal EcphySfnBoundaryInd ; //ICAT EXPORTED STRUCT typedef struct EcphyBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended /*CQ00155678 start modify , for add snr and 32 bits align*/ Int8 reserved1 ; SignedInt16 sibSnr ; // fwl is 6 , Q6 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyBchInd , EcphyNcellBchInd , // cmni , mod , because EcphyNcellBchInd is same as EcphyBchInd EcphyEcgiBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyPchExtendInfoReqTag { // eDRX enabled flag. // TRUE - eDRX enabled , // FALSE - eDRX len is less than 512 s or BCCH modification period , and below parameters can be negelated. Int16 ueId ; Int16 ueIdH ; /* used by edrx */ // The pagingCycle ( T ) is configured in unit of radio frame and aligned to 36.331000 , value range { rf128 , rf256 , rf512 , rf1024 } // T = min { TdefaultPagingCycle , TueSpecificDrx } Int16 TpagingCycle ; // T , enum { rf128 , rf256 , rf512 , rf1024 } SignedInt16 nB ; /* fourT , twoT , oneT , halfT , quarterT , one8thT , one16thT , one32ndT , one64thT , one128thT , additional one256thT , one512thT*/ Boolean eDrxEnabled ; Int8 reserved [ 3 ] ; // eDRX cycle parameter ' TeDRX ' , value 2 ^ ( 0 , 1 , 2 , .. , 10 ) according to NAS spec TS24.301 for NB-LTE // Actually TeDRX can be understanded as ' TeDRX , H ' in unit of Hyper-SFN which H-SFN increased by 1 when SFN wrapped round of 1024 . // Therefore the actual time of certain eDRX cycle is ( TeDRX*1024 ) seconds except eDRX cycle 512 s // In case of eDRX cycle 512 s , paging occasion is calculated as normal way as 36.304000 sec7.1. Int16 TeDRX ; // value 1 -1024 Int16 PTWL ; // Paging Time Window Length , in unit of ms , value { 128 , 256 , 384 , 512 , 640 , 768 , 896 , 1024 , 1152 , 1280 , 1408 , 1536 , 1664 , 1792 , 1920 , 2048 } } EcphyPchExtendInfoReq; typedef EcphyPchExtendInfoReq LtePchExtendInfo ; //ICAT EXPORTED STRUCT typedef struct EcphyPchConfigReqTag { L1ASimId simId ; // To indicate what kind of paging UE identity will be in this message LtePagingUeIdentity pagingUeIdentity ; // Paging occasion , see TS36.304 section 7.100000 Int8 PO ; // The IE MMEC identifies an MME within the scope of an MME Group within a PLMN , valid only when pagingUeIdentity is S_TMSI Int8 MMEC ; // Length of valid digit in IMSI , from LSB , value range:8~21 , valid only when pagingUeIdentity is IMSI Int8 lengthOfImsi ; // Digit stream for IMSI , , valid only when pagingUeIdentity is IMSI Int8 IMSI [ 21 ] ; // The first / leftmost bit of the bit string contains the most significant bit of the M-TMSI. 32 -bit-stream , valid only when pagingUeIdentity is S_TMSI Int32 mTMSI ; // The pagingCycle is configured in unit of 10 ms , aligned to 36.331000 Int16 pagingCycle ; // cmni , mod , if Up layer gives a pagingCycle , will used the min { defaultPagingCycle of SIB2 , UL give ' s } // Paging frame , see TS36.304 section 7.100000 Int16 PF ; // CQ00103396 add Ns , N and defaultPagingCycle Int8 Ns ; Int8 N ; Int8 defaultPagingCycle ; // Int8 reserved2 ; // CQ00126430 remove Int8 multipleDrxLength ; /*CQ00126430 add , 1 :default vaue means pagingCycle not extended.*/ LtePchExtendInfo pchExtendInfo ; // brPchInfo ; } EcphyPchConfigReq; //ICAT EXPORTED STRUCT typedef struct EcphyPchIndTag { L1ASimId simId ; // The SFN number when the PCH is received Int16 sfn ; // The subframe number when the PCH is received Int16 subframe ; // Length of the PCH payload Int16 length ; Int8 reserved0 ; Int8 reserved1 ; Int8 *data ; } EcphyPchInd; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReq_R9Tag { // Frequency of destination cell Earfcn euArfcn ; // CQ00111620 change from Int16. // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; // CQ00111620 add for 32 bits alignment. Int8 reserved1 ; // CQ00111620 add for 32 bits alignment. // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo_R9 ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; EcphyRadioResourceDedicatedConfigReq_R9 ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverReqTag { L1ASimId simId ; // Frequency of destination cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell ID of destination cell , value range:0~503 Int16 phyCellId ; // dl-Bandwidth received from MIB or mobilityControlInfo , value range ( 0 , 1 , 2 , 3 , 4 , 5 ) , 0 stands for 6 PRBs , 5 stands for 100 PRBs Int8 dlBandwidth ; // UE ' s maximum uplink transmission power on a carrier frequency , value range:-30~33 SignedInt8 pMax ; // Number of antenna port in cell , value range:1 , 2 , 4 , valid only when antennaPortsCountPresent is TRUE Int8 antennaPortsCount ; // Uplink cyclic prefix length , where len1 corresponds to normal cyclic prefix and len2 corresponds to extended cyclic prefix. Int8 ulCyclicPrefixLength ; Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; // Configuration type of p-Max LteRrcL1ConfigType pMaxConfigType ; // Configuration type of tddConfig LteRrcL1ConfigType tddConfigConfigType ; // To specify the TDD specific physical channel configuration LteTddConfigType tddConfig ; // UE Uplink transmission configuration , broadcasted in SIB2 LteFreqInfo ulFreqInfo ; // To specify the generic random access parameters LteRachConfigCommon raConfigCommon ; // To specify the PRACH configuration in the system information and in the mobility control information LtePrachConfigSib prachConfig ; // To specify common PDSCH configuration LtePdschConfigCommon pdschConfigCommon ; // To specify the common PUSCH configuration and the reference signal configuration for PUSCH and PUCCH LtePuschConfigCommon puschConfigCommon ; // To specify PHICH configuration PhichConfig phichConfig ; // To specify the common PUCCH configuration LtePucchConfigCommon pucchConfigCommon ; // Configuration type of srsUlConfigCommon LteRrcL1ConfigType srsUlConfigCommonConfigType ; // To specify the uplink Sounding RS configuration , valid only when srsUlConfigCommonConfigType is SETUP LteSrsUlConfigCommon srsUlConfigCommon ; // To specify parameters for uplink power control in the system information LteUlPowerCtrlCommon ulPowerControlCommon ; LteRrcL1ConfigType uplinkPowerControlCommonV1020ConfigType ; LteUplinkPowerControlCommonV1020 uplinkPowerControlCommonV1020 ; // LteRrcL1ConfigType multiBandInfoListConfigType ; LteRrcL1ConfigType tddConfigV1130ConfigType ; // specialSubframePatternsV1130: valid only if tddConfigV1130ConfigType == LTE_SETUP_RRC_CONFIG Int8 specialSubframePatternsV1130 ; // 7 :ssp7 , 9 :ssp9 Int8 reserved2 ; /*CQ00107941 modify for 32 bits struct alignment*/ Int16 reserved3 ; EcphyRadioResourceDedicatedConfigReq ecphyRadioResourceDedicatedConfig ; } EcphyHandoverReq; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverCnfTag { L1ASimId simId ; // To indicate whether the synchronization is successful Boolean successFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHandoverCnf; //ICAT EXPORTED ENUM // CQ00044511 , start typedef enum LteAccessStratumReleaseTag { LteAccessStratumRelease_rel8=0 , LteAccessStratumRelease_rel9=1 , LteAccessStratumRelease_rel10=2 , LteAccessStratumRelease_rel11=3 , /*CQ00126061 start modify*/ LteAccessStratumRelease_rel12=4 , LteAccessStratumRelease_rel13=5 , LteAccessStratumRelease_rel14=6 , LteAccessStratumRelease_rel15=7 , LteAccessStratumRelease_rel15_ext =0x7FFFFFFF /*CQ00126061 end modify*/ } LteAccessStratumRelease; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReq_SSTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 } EcphyClassmarkReq_SS; //ICAT EXPORTED ENUM typedef enum LteTestInfoTag { LTE_TEST_INFO_DEFAULT =0 , LTE_TEST_INFO_CTA_TEST =1 , LTE_TEST_INFO_INVALID =0x7F } LteTestInfo; //ICAT EXPORTED ENUM typedef enum LteClassMarkReqExtBitIndexTypeTag { // bitmap index of EcphyClassmarkReq->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_REQ_EXTEND_SCORE_MULTIPLE32 =0 , // CQ00140687 modfiy LTE_CLASSMARK_REQ_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_REQ_EXTEND_BATTERY_LIFE_DEMAND =2 , LTE_CLASSMARK_REQ_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_REQ_EXTEND_INVALID = 0xFF } LteClassMarkReqExtBitIndexType; //ICAT EXPORTED ENUM typedef enum LteClassMarkCnfExtBiIndexTypeTag { // bitmap index of EcphyClassmarkCnf->extendBitmap , bit0 ~ bit7 LTE_CLASSMARK_CNF_EXTEND_LONG_EDRX =0 , LTE_CLASSMARK_CNF_EXTEND_ALL_MEAS_IPC_SIZE_DOWN =1 , // CQ00130599 add LTE_CLASSMARK_CNF_EXTEND_SCORE_MULTIPLE32 =2 , // CQ00140687 add LTE_CLASSMARK_CNF_EXTEND_R12_INCREASE_MEAS_FREQ =3 , // CQ00144599 add LTE_CLASSMARK_CNF_EXTEND_INVALID = 0xFF } LteClassMarkCnfExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkReqTag { L1ASimId simId ; // Config LTE mode , TDD or FDD LteRrcL1Mode lteMode ; Int8 ueCategory ; // CQ00027935 // 0 : ERRC_NMODE_GSM , 1 : ERRC_NMODE_UMTS , 2 : ERRC_NMODE_LTE // 3 : ERRC_NMODE_GSM_UMTS , 4 : ERRC_NMODE_GSM_LTE , 5 : ERRC_NMODE_UMTS_LTE // 6 : ERRC_NMODE_GSM_UMTS_LTE Int8 userMode ; // reserved0 ; Int8 antennaEnableType ; Boolean isDualLink ; // 1 : dual-link ; otherwise: single-link LteAccessStratumRelease lteAccessStratumRelease ; // CQ00044511 // 1 if 1802 / 1802 s / PS DS+L1 single , L1A will remove below as EcphyClassmarkReq_SS // CQ00054032 start // #if !defined ( UPGRADE_DSDS_EXCLUDE_SIM2_L1 ) // CQ00058169 Boolean isDsDS ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; // #endif // CQ00054032 end // CQ00108975 start Int8 ulCategory ; /*CQ00116683 start modify*/ Int8 lteTestInfo ; // detail value meanings refer to enum LteTestInfo. /*CQ00116683 end modify*/ /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00130599 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // #if defined ( UPGRADE_DSDSLTE ) || defined ( UPGRADE_DSDSL1 ) // 4 except 1802 S Int8 extendBitmap ; // 4 valid for non-1802S , modify from reserved4 /*each bit refer to enum LteClassMarkReqExtBitIndexType: bit0: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit1: enable all meas IPCs size down bit2: battery life demand product , get from medcr position 158 bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved4 ; // #endif /*CQ00130599 end modify*/ /*CQ00138153 end modify*/ Int8 reserved5 ; // CQ00108975 end } EcphyClassmarkReq; //ICAT EXPORTED STRUCT typedef struct EcphyClassmarkCnfTag { L1ASimId simId ; Int8 ueCategory ; Int8 reserved0 ; // L1 aleady use it for freq lock. /*CQ00138153 start modify , remove macro for extendBitmap , only add macro when get extendBitmap*/ /*CQ00129822 start modify*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) // CQ00130976 modify , enable for falcon Int8 extendBitmap ; // 4 modify from reserved1 /*each bit refer to enum LteClassMarkCnfExtBitIndexType bit0: enable long edrx bit1: enable all meas IPCs size down bit2: enable rssiscanCnf score multiple 32 / / CQ00140687 modify bit3: enable R12 increase meas Freq / / CQ00144599 add */ // #else // Int8 reserved1 ; // #endif /*CQ00129822 end modify*/ /*CQ00138153 end modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ Int8 numOfSupportedBandlistEutra ; Int8 supportedBandEUTRA [ 64 ] ; Boolean supportedBandEUTRAhalfDuplex [ 64 ] ; // CQ00100894 add begin Int8 numOfSupportedCaBand ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int32 supportedCaBand [ 64 ] ; // CQ00100894 add end } EcphyClassmarkCnf; //ICAT EXPORTED ENUM typedef enum LteScellMeasReqExtBitIndexTypeTag { // bitmap index of EcphyServingCellMeasureReq->extendBitmap , bit0 ~ bit7 LTE_SCELLMEAS_REQ_EXTEND_CHANGE_DCI_THRESH =0 , LTE_SCELLMEAS_REQ_EXTEND_SPECIAL_INDIA_PLMN =1 , LTE_SCELLMEAS_REQ_EXTEND_NVIOT_SPECIAL_TAC = 2 , // CQ00144644 add LTE_SCELLMEAS_REQ_EXTEND_CTTL_TMO_LAB = 3 , /*CQ00145041 add*/ LTE_SCELLMEAS_REQ_EXTEND_REPORT_IMMEDIATELY = 4 , /*CQ00148077 add , report EcphyServingCellmeasureInd immediately*/ LTE_SCELLMEAS_REQ_EXTEND_INVALID = 0xFF } LteScellMeasReqExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureReqTag { L1ASimId simId ; Boolean powerSavingMode ; Int8 lowThresoldRsrp ; Boolean isRxTxTimeDiffPeriodical ; // CQ00041317 , Upgrade to vb30 , According to UE Rx-Tx time difference report mapping in TS 36.133000 /*CQ00144644 start modify , remove macro for extendBitmap , only add macro when set extendBitmap*/ /*CQ00135534 add begin*/ // #if defined ( CRANE_L1 ) || defined ( FALCON_1803_PLATFORM ) Int8 extendBitmap ; /* refer to LteScellMeasReqExtBitIndexType bit0: 0 :default value , 1 :special Location for #51337 change DCI threshold bit1: 0 :default value , 1 : special India PLMN for #78158 , CQ00143677 add bit2 0 :default value , 1 : special TAC = 0x5803 for nviot CQ00144644 add bit3: 0 :default value , 1 : CTTL TMO Lab test. CQ00145041 add bit4: 0 :default value , 1 : notify L1 to report scellMeasInd immediately. CQ00148077 add */ // #else /*CQ00135534 add end*/ // Int8 reserved0 ; // #endif // CQ00135534 add /*CQ00144644 end modify*/ /*CQ00120091 start add*/ LteMeasScaleFactor_r12 measScaleFactor ; // valid for connected , specifies the factor for scaling the measurement performance requirements in TS 36.133000 . /*CQ00120091 end add*/ } EcphyServingCellMeasureReq; typedef ErrcL1aEmptySignal EcphyStopServingCellMeasureReq ; //ICAT EXPORTED ENUM typedef enum LteServingCellMeasureIndType0Tag { // bitmap index of EcphyServingCellMeasureInd->reserved0 , bit0 ~ bit7 LTE_SERVING_MEAS_IND_RES0_ENLAGGE_DRX_ALLOWED =0 , LTE_SERVING_MEAS_IND_RES0_PCH_ERROR =1 , /*CQ00146335 add*/ LTE_SERVING_MEAS_IND_RES0_INVALID = 0xFF } LteServingCellMeasureIndType0; //ICAT EXPORTED STRUCT typedef struct EcphyServingCellMeasureIndTag { L1ASimId simId ; /*value range: ( 0 ~97 ) -140 ) *64. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .4 RSRP Measurement Report Mapping.*/ SignedInt16 rsrp ; // CQ00058601 // CQ00070565 /*value range: ( ( 0 ~34 ) -40 ) *32. L1 report the real value*64. Ref to 36.133000 chap 9.100000 .7 RSRQ Measurement Report Mapping. eg: rsrq= -812 , then L1 real value= -812 / 64 = -12.7 , mapping to [ 0 , 34 ] = -812 / 32 +40 = 15 , 15 is used to report MR and engInfo.*/ SignedInt16 rsrq ; // CQ00070565 SignedInt8 sinr ; // Int8 sinr ; // add for engneer mode. // CQ00058537 Boolean escapeFlag ; // CQ00051177 // CQ00041317 , Upgrade to vb30 Int8 extendBitmap ; // CQ00146020 change from reserved0 ; /*CQ00146020 add: each bit refer to enum LteServingCellMeasureIndType0 bit0: enlarge DRX length allowed bit1: 815 A indication CQ00146335 add */ // To indicate if the ue_RxTxTimeDiffResult_r9 and currentSFN_r9 is valid Boolean rxTxTimeDiffResult_present ; // UE Rx-Tx time difference measurement result of the PCell , According to UE Rx-Tx time difference report mapping in TS 36.133000 Int16 rxTxTimeDiffResult ; /* 0 to 4095 */ // Indicates the current system frame number when receiving the UE Rx-Tx time difference measurement results from lower layer Int16 currentSFN ; /* 0 to 1023 */ /*CQ00138882 start add , L1 defined below at year 2017 for Crane*/ Int8 escapeCauseBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 pchLostBitmap ; // if not 0 , L1 will decrease scell RSRP 9 db Int8 reserved2 ; // reserved for future use. Int8 reserved3 ; // reserved for future use. /*CQ00138882 end add*/ // CQ00041317 , end // Int16 timingAdvanceVal ; // CQ00088873 add / *CQ00098428 del* / } EcphyServingCellMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReq_R9Tag { // Measurement object for intra-frequency measurement LteL1aMeasObjectEutra_R9 l1aMeasObjectEutra ; } EcphyIntraFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqInfoReqTag { L1ASimId simId ; Int8 numOfRecord ; // when CA , max 5 , otherWise 1 . Int8 reserved0 ; Int8 reserved1 ; LteL1aMeasObjectEutra l1aMeasObjectEutra [ 2 ] ; // l1aMeasObjectEutra [ 0 ] is for Pcell intraFreq. } EcphyIntraFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReq_R9Tag { // number of cell should be measured Int16 numOfRecord ; Int8 reserved0 ; Int8 reserved1 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra_R9 l1aMeasObjectEutra [ 32 ] ; } EcphyInterFreqInfoReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqInfoReqTag { L1ASimId simId ; // number of freq-cell should be measured Int16 numOfRecord ; // number of measSubframeCellListR10 , also the number of freqs. Int8 numOfMeasSubframeCellListR10 ; Int8 reserved0 ; // Measurement object for inter-frequency measurement ; one frequency per object LteL1aMeasObjectInterEutra l1aMeasObjectEutra [ 32 ] ; // note: the measSubframeCellListR10 related Freq order is the same with ecphyMonitorInterFreqCellReq LteMeasSubframeCellListR10 measSubframeCellListR10 [ 8 ] ; /*CQ00120091 start add*/ // note: the Freq order is the same with ecphyMonitorInterFreqCellReq->freqExtendedR12->euArfcnExtR12 [ ] LteMeasSubframeCellListR10 measSubframeCellListR10Ext [ 8 ] ; // only valid when numOfMeasSubframeCellListR10>8. eg: numOfMeasSubframeCellListR10 = 10 , then measSubframeCellListR10Ext [ ] contain 2 valid config. /*CQ00120091 end add*/ } EcphyInterFreqInfoReq; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap ---> Arfcn [ 7 ] Int8 bandBitmap ; Boolean isForPlmnSearch ; ReqActionType action ; Int16 arfcn [ 8 ] ; } EcphyGsmBsicReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindGsmCellReqTag { L1ASimId simId ; // Number of arfcn should be searched Int8 numOfArfcn ; Int8 measSyncId ; Int8 bandMode ; // bandMode=0 means 1800 , bandMode=1 means 1900 Int8 reserved0 ; ReqActionType action ; // arfcn information Int8 arfcnList [ 128 ] ; } EcphyDrxFindGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindTddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; } EcphyDrxFindTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyDrxFindFddUtraCellReqTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; /*Indicate if the procedure run by PLMS or ERR */ Boolean isForPlms ; /** Specifies the number of Cell search with frequency Bands. */ Int16 numOfBand ; /** Specifies an array of primary scrambling codes to be used in synchronisation process. */ UBandInLte bandlist [ 32 ] ; // 1 1802 S has below at 10 / 23 / 2019 for 1802 S#8184 , but 1802 not has below by now. // #if !defined ( PS_1802 ) // #ifndef NEZHA_MCU_DONGLE / *CQ00097433 add* / // CQ00112141 modify // CQ00118356 del , 1802 S has it. Int16 numOfFreq ; // CQ00061636 Int16 freqList [ 32 ] ; // #endif / *CQ00097433 add* / // CQ00118356 del } EcphyDrxFindFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorIntraFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyMonitorIntraFreqCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReq_R9Tag { // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Int8 reserved0 ; // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00111620 modify Int16 to Earfcn } EcphyMonitorInterFreqCellReq_R9; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorInterFreqCellReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; // start measurement on inter-freqs in the list below , no measurement on those freq which is beyond the list Int8 numOfFreq ; // This flag is to indicate whether the S_servingCell is greater than S_nonintrasearch , according to 36.133000 section 4.200000 .2.4 , only used in IDLE Boolean strongServingCell ; Boolean isRjilSim ; // CQ00120091 modify from Int8 reserved0 , because CQ00100197 use reserved0 for isRjilSim. // This is flag to indicate wheter a frequency corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] is of high priority , only used in IDLE Boolean highPriorityFreq [ 8 ] ; Earfcn euArfcn [ 8 ] ; // CQ00041317 , extended earfcn from Int16 to Int32 / *CQ00107221 modify from Int32* / /*CQ00120091 start add*/ Boolean reducedMeasPerformace_R12 [ 8 ] ; // corresponding to euArfcn [ LTE_RRC_L1_MAX_FREQ ] FreqExtendedR12 freqExtendedR12 [ 8 ] ; // 4 only valid when numOfFreq>8. eg: numOfFreq = 10 , then euArfcnExtR12 [ ] contain 2 valid freqs. /*CQ00120091 end add*/ } EcphyMonitorInterFreqCellReq; //ICAT EXPORTED ENUM typedef enum LteMeasGapExtBitIndexTypeTag { // bitmap index of EcphyMeasurementGapActReleaseReq->extendBitmap , bit0 ~ bit7 LTE_MEAS_GAP_EXT_FAKE_GAP = 0 , LTE_MEAS_GAP_EXT_INVALID = 0xFF } LteMeasGapExtBitIndexType; //ICAT EXPORTED STRUCT typedef struct EcphyMeasurementGapActReleaseReqTag { L1ASimId simId ; // Flag to indicate whether measurement gap is to activate ( True ) or to release ( Release ) // L1 should release any activated old measurement gap before activate a new one Boolean measurementGapActivate ; // The measurement gap period , value rang: ( 40 ms , 80 ms , ... ) , valid only when action is setup Int8 gapPeriodgapPatternId ; // The measurement gap offset , value range:0~79 , for R15: value range:0~159. valid only when action is setup Int8 gapOffset ; Int8 extendBitmap ; // CQ00146235 modify from reserved0 /*each bit refer to enum LteMeasGapExtBitIndexType bit0: fake meas gap */ } EcphyMeasurementGapActReleaseReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorGsmCellReqTag { L1ASimId simId ; // Measurement object for GERAN measurement ( from SIB7 / reconfig / release ) Int8 numOfArfcn ; Int8 measSyncId ; // CQ00092758 mod // Int16 reserved1 ; Boolean voLte ; /*CQ00113897 start modify*/ Boolean isCmccEsrvccForOT ; // Notify L1 whether it is CMCC Esrvcc for special TAC. only valid for connected state. /*CQ00113897 end modify*/ // CQ00092758 mod end // 32 bit-bitmap mapping to 32 possible Arfcn. bit 0 indiciate 1800 , bit 1 indicate 1900 // only apply for Arfcn which causes ambiguous in 1800 / 1900 // mapping rule: // LSB ( rightmost bit , binary ( 0 * ) ) of bandBitmap [ 0 ] ---> Arfcn [ 0 ] // .. // MSB ( leftmost bit , binary ( *0000000 ) ) of bandBitmap [ 3 ] ---> Arfcn [ 31 ] Int8 bandBitmap [ 4 ] ; Int8 highPriorityBitmap [ 4 ] ; Int16 arfcn [ 32 ] ; } EcphyMonitorGsmCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorTddUtraCellReqTag { // 1 if modify before measSyncId , should also check with L1 to modify L1aFillShareMemoryAddress ( ) for newDataLen. L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectTddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectTddUtra l1aMeasObjectTddUtra [ 16 ] ; } EcphyMonitorTddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyMonitorFddUtraCellReqTag { L1ASimId simId ; // Measurement object for TDD UTRA measurement // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 numberOfMeasObjectFddUtra ; Int8 highPriorityBitmap [ 2 ] ; LteL1aMeasObjectFddUtra l1aMeasObjectFddUtra [ 16 ] ; } EcphyMonitorFddUtraCellReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopIntraFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopIntraFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopInterFreqMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , both intra and inter frenquency measurement share one measSyncId Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopInterFreqMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopGsmCellMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyStopGsmCellMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopTddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopTddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyStopFddUtraMeasReqTag { L1ASimId simId ; // The id to synchronize a measurement report and its start point , all intra-freq , inter-freq and irat measurement shares one measSyncId? Int8 measSyncId ; Int8 forPlmn ; // 0 : stop measurement ; 1 : stop plmn search ( DrxFindTddUtraCellReq ) Int8 reserved0 ; Int8 reserved1 ; } EcphyStopFddUtraMeasReq; //ICAT EXPORTED STRUCT typedef struct EcphyCellDetectedIndTag { L1ASimId simId ; // Number of cell detected Int16 numOfCellDetected ; Int8 reserved0 ; Int8 reserved1 ; // The measurement result of the dectected cell LteDetectMeasReportFromL1 measResult [ 32 ] ; } EcphyCellDetectedInd; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureInd_R9Tag { // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report Int16 numOfIntraFreqMeasReported ; Int32 cellBitMap ; /* Comment: reserved for future use , not used in current design */ //// The measurement result of the measured intra-freq cell LteCellMeasResult measResult [ 32 ] ; } EcphyIntraFreqMeasureInd_R9; //ICAT EXPORTED STRUCT typedef struct EcphyIntraFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; Int8 reserved0 ; // Number of valid report , Int16 numOfIntraFreq ; LteIntraMeasReportFromL1 intraFreqMeasResult [ 2 ] ; } EcphyIntraFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyInterFreqMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency-cell reported Int8 numOfCell ; Boolean isFinish ; /*CQ00124221 add*/ Int8 reserved1 ; // measurement report of intrt-freq meas LteInterMeasReportFromL1 measResult [ 32 ] ; } EcphyInterFreqMeasureInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmRssiMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of frequency reported Int8 numOfCell ; Boolean isPlmnRssi ; // TRUE: background PLMN search RSSI ; FALSE: MEASUREMENT RSSI Int8 reserved0 ; // measurement report of GERAN meas LteGeranMeasReportFromL1 measResult [ 40 ] ; } EcphyGsmRssiMeasureInd; //ICAT EXPORTED STRUCT typedef struct LteGeranBsicReportFromL1Tag { // 4 note: all the bsicResult [ ] .purpose in one EcphyGsmBsicMeasureInd are identical Int8 purpose ; // bit0 , PLMN BSIC ; bit1 , BSIC , bit2 Reconfirm , . only one bit can be 1 Int8 bandIndicator ; // 0 , band1800 ; 1 , band1900 Boolean isValid ; // true , valid ; false , fail Int8 reserved0 ; Int16 arfcnGeran ; // GERAN ARFCN of BCCH carrier. ( frequency number ) Int16 gtuSuperFrameNumber ; // gsm timing Int16 gtuFrameNumber ; // gsm timing Int16 gtuRtuDecimalValue ; // gsm timing Int16 syncBurstRawDataHighPart ; // sb burst data Int16 syncBurstRawDataLowPart ; // sb burst data } LteGeranBsicReportFromL1; //ICAT EXPORTED STRUCT typedef struct EcphyGsmBsicMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cells reported Int8 numOfCell ; /*CQ00092632 start modify*/ // Int8 reserved0 ; // change reserved0 to isPlmnBsic for L1A internal distinguish Boolean isPlmnBsic ; // TRUE: background PLMN search BSIC ; FALSE: MEASUREMENT BSIC /*CQ00092632 end modify*/ Int8 reserved1 ; LteGeranBsicReportFromL1 bsicResult [ 8 ] ; } EcphyGsmBsicMeasureInd; typedef EcphyGsmBsicMeasureInd EcphyDrxFindGsmCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraMeasureIndTag { L1ASimId simId ; // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; Int16 reserved0 ; // measurement report of TDD UTRA meas LteTddUtraMeasReportFromL1 measFreq [ 8 ] ; } EcphyTddUtraMeasureInd; typedef EcphyTddUtraMeasureInd EcphyDrxFindTddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraMeasureIndTag { L1ASimId simId ; // 1 infact , APLP -> L1 -> L1A not follow this structure , details see up NOTE. // 1 if modify this structure , should modify L1aCopyFddUtraCellInfo ( ) . // The id a measurement report belongs to Int8 measSyncId ; // Number of cell reported Int8 numOfFreq ; /*CQ00105527 start modify*/ // TRUE: partial report , FALSE: final report Boolean partialReport ; Int8 reserved0 ; /*CQ00105527 end modfiy*/ // measurement report of FDD UTRA meas LteFddUtraMeasReportFromL1 measResult [ 8 ] ; } EcphyFddUtraMeasureInd; typedef EcphyFddUtraMeasureInd EcphyDrxFindFddUtraCellCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchReqTag { L1ASimId simId ; Int8 bsic ; // the lowest 0 ~2 bits store the baseStationColourCode , the lowest 3 ~5 bit store the networkColourCode Int8 reserved0 ; Int16 reserved1 ; // 1 only SI 3 or SI 4 or SI 13 needed // tc is a bitmap indicating which SI ( s ) shall be retrived. follows CcchNcellBcchInfo.tc defined in grr.h // SIB3: TC_SYS_INFO_TYPE_3 // SIB4: TC_SYS_INFO_TYPE_4 // SIB13: TC_SYS_INFO_TYPE_13_EXT and TC_SYS_INFO_TYPE_13_NORM Int16 tc ; ErrcArfcnGeranValue geranArfcn ; ErrcBandIndicatorGeran bandIndicator ; // Band indicator of the measured GERAN ARFCNs } EcphyGsmNcellBchReq; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyGsmNcellBchStopCnf ; typedef ErrcL1aEmptySignal EmphReselectToLteFailCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchReqTag { L1ASimId simId ; Int8 phyCellIdTddUtra ; Int8 reserved0 ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive TD MIB only ; // if mibOnly = FALSE , retrive TD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyTddUtraNcellBchReq; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchReqTag { L1ASimId simId ; Int16 phyCellIdFddUtra ; ErrcArfcnUtraValue carrierFreq ; // if mibOnly = TRUE , retrive FDD MIB only ; // if mibOnly = FALSE , retrive FDD SIBs Boolean mibOnly ; Boolean pLmnOrCgi ; /*Plmn:false ; Cgi:true*/ Int16 reserved2 ; } EcphyFddUtraNcellBchReq; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyTddUtraNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyFddUtraNcellBchStopCnf ; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // TD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyTddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // Physical cell Id , higher 8 bits indicates MA , lower 8 bits indicates DL , // i.e. utraPhyCellId = ( MA << 8 ) | DL ; // ERRC shall only consider MA as PhyCellId Int16 utraPhyCellId ; // Frequency Int16 utraArfcn ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // True means that L1 fails to read this bch in the allocated GAP Boolean gapEnd ; // Length of the BCH payload Int16 length ; Int8 data [ 32 ] ; // FDD BCH lenth in 32 bytes , same as PLG_BCH_DECODE_DATA_LEN } EcphyFddUtraNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EcphyDeactiveReqTag { L1ASimId simId ; LteDeactiveCause cause ; } EcphyDeactiveReq; typedef ErrcL1aEmptySignal EcphyDeactiveCnf ; typedef ErrcL1aEmptySignal EcphyInitModeInd ; typedef ErrcL1aEmptySignal EcphyMibErrDuringIcsInd ; typedef ErrcL1aEmptySignal EcphyEngModeInd ; //ICAT EXPORTED STRUCT typedef struct LteSleepIndTag { L1ASimId simId ; Int32 sleepDura32KClock ; // sleep duration in 32 K clock /*CQ00116907 start add*/ // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless // #if defined ( OPTIMIZATION_START_FROM_CRANE ) && defined ( ENABLE_CAT1_LG ) && !defined ( MATCH_LGDS_L1 ) // CQ00117979 modify // CQ00129424 del , replace by below Int32 cpTimerSleepInd ; // platform need it to root cause delay issues , L1A no need to handle it. // #endif // #if !defined ( PS_1802 ) // CQ00118356 add // CQ00129424 del , useless /*CQ00116907 end add*/ Boolean longEdrx ; // 0 -FALSE , 1 -TRUE , indicate to renter to long EDRX deep sleep ( power down ) ; Int8 dummy ; Int16 longEdrxDuration ; // unit in second } LteSleepInd; //ICAT EXPORTED STRUCT typedef struct LteSleepCnfTag { L1ASimId simId ; Int16 SleepFlag ; // 0 : ok to sleep ; 1 : cannot sleep Int16 SleepType ; // 0 : endless sleep , no wakeup time. only can be waked up by early wakeup. caused by EcphyDeactiveCnf ( normal deactive ) // 1 : scheduled sleep , with a wakeup time. can be waked up by sleep timer and early wakeup Boolean longEdrxResult ; // 0 -NOT_ALLOWED , 1 -ALLOWED Int8 dummy [ 3 ] ; Int32 rtcValue1 ; // unit:in ticks } LteSleepCnf; //ICAT EXPORTED STRUCT typedef struct LteWakeUpReqTag { // 2 if modify this structue , should also modify L1aSendLteWakeUpReq ( ) . /*CQ00112383 start modify by code review , according to real data format*/ Boolean isEarlyWakeup ; Int8 reserved0 ; Int8 simId ; // 0 : sim1 , 1 : sim2 Int8 reserved1 ; /*CQ00112383 end modify*/ } LteWakeUpReq; typedef Int8 ApplicationID ; //ICAT EXPORTED STRUCT typedef struct L1aIpcCommandReqTag { ApplicationID appId ; Int8 reserved ; // from IPC_Command Int16 opcode ; Int16 cmdLength ; // in word , 16 bits Int16 cmdData [ 32 ] ; } L1aIpcCommandReq; typedef ErrcL1aEmptySignal EcphyHandoverToTddUtraReq ; typedef ErrcL1aEmptySignal EcphyReselToFddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphyHandoverToFddutraCnf ; typedef ErrcL1aEmptySignal EcphyHandoverToFddUtraReq ; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToTddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToTddUtraCnf; //ICAT EXPORTED STRUCT typedef struct EcphyHandoverToFddUtraCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserve0 ; Int8 reserve1 ; Int8 reserve2 ; } EcphyHandoverToFddUtraCnf; //ICAT EXPORTED STRUCT typedef struct LteMeasFreqRstTag { Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ Int8 syncStatusValid ; // TRUE when syncStatus is valid Int8 syncStatus ; // TRUE: in-sync ; FALSE: out of sync Int8 reserved0 ; /*CQ00107941 add for 32 bits struct alignment*/ Int8 reserved1 ; } LteMeasFreqRst; //ICAT EXPORTED STRUCT typedef struct LteMeasReportInGsmTag { // Frequency info of the reported cell Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId ; Int16 rsrpRsrqPresent ; SignedInt16 rsrp ; SignedInt16 rsrq ; } LteMeasReportInGsm; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasIndTag { L1ASimId simId ; Int8 seqNum ; /*CQ00080834 start modify*/ Boolean noGapNeedFlag ; // TRUE: L1 finish meas all cells on this freq , FALSE: not finish meas all cells. /*CQ00080834 end modify*/ Int8 numOfFreq ; // 0 : meas gap cann ' t be used , otherweise should be 1 , because only one freq in EmphMonitorLteNcellReq. // CQ00118418 add note. Int8 numOfCell ; LteMeasFreqRst measFreqRst [ 8 ] ; LteMeasReportInGsm measResult [ 32 ] ; } EmphLteNcellMeasInd; typedef EcphyDrxFindCellReq EcphyGsmDrxFindLteCellReq ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmDrxFindLteCellCnfTag { L1ASimId simId ; /// Flag indicates whether cell is detected Int8 seqNum ; Int8 numOfResult ; Int8 reserved0 ; Int8 reserved1 ; // The information of detected cell , valid only when cellDetected is TRUE LteDetectMeasReportFromL1forGsm findCellResult [ 16 ] ; // reserved position for L1 debug Int32 reserved ; } EcphyGsmDrxFindLteCellCnf; //ICAT EXPORTED STRUCT typedef struct EcphyTddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyTddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyFddUtraNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyFddUtraNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchGapIndTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved ; Int16 gapDuration ; // unit: millisecond } EcphyGsmNcellBchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingReqTag { L1ASimId simId ; Int16 data [ 8 ] ; // the content is the same in tgiGetGsmTimingParams in pl_adap_dual.c , need L1 to check } EcphySetGsmTimingReq; //ICAT EXPORTED STRUCT typedef struct EcphySetGsmTimingCnfTag { L1ASimId simId ; Int16 data [ 4 ] ; // the content is the same in L1cHandleSetGsmTimingCnf in l1c_drat_process.c , need L1 to check } EcphySetGsmTimingCnf; typedef EcphyNcellBchReq EcphyLteNcellBchReq ; //ICAT EXPORTED STRUCT typedef struct EcphyLteNcellBchIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended // Int8 reserved1 ; SignedInt16 rsrp ; // CQ00120601 modify from Int16 // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EcphyLteNcellBchInd; typedef EcphyNcellBchStopReq EcphyLteNcellBchStopReq ; typedef ErrcL1aEmptySignal EcphyLteNcellBchStopCnf ; typedef ErrcL1aEmptySignal EcphyL1ResumeReq ; //ICAT EXPORTED STRUCT typedef struct EcphyL1ResumeCnfTag { L1ASimId simId ; Boolean ifSuccess ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyL1ResumeCnf; typedef ErrcL1aEmptySignal EcphyReselToTddUtraFailRevertReq ; typedef ErrcL1aEmptySignal EcphySuspendInd ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortReq ; typedef ErrcL1aEmptySignal EcphyGsmDrxFindLteCellAbortCnf ; typedef ErrcL1aEmptySignal EcphySuspendReq ; typedef ErrcL1aEmptySignal EcphySuspendCnf ; typedef ErrcL1aEmptySignal EcphyResumeReq ; typedef ErrcL1aEmptySignal Sim2ActivateInd ; typedef ErrcL1aEmptySignal Sim2DeactivateInd ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsReq ; typedef ErrcL1aEmptySignal EcphySwitchRatToUmtsCnf ; typedef ErrcL1aEmptySignal EcphyForeGroundPlmnReq ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpInd ; typedef ErrcL1aEmptySignal EcphyRRCReconfigCmpAckInd ; typedef ErrcL1aEmptySignal EcphyDsPagingFailureInd ; //ICAT EXPORTED STRUCT typedef struct EcphySacErrcL1aCommonResTag { // 3 0x033C , L1->L1A Int8 commonId ; // 4 indicate LteEcphyComCmdOpId ( 163 ... ) , CQ00135166 add note Int8 lenOfPara ; // 4 length of para , not include dummy Int8 dummy [ 2 ] ; // CQ00135166 add , for unify handle Int8 para [ 256 ] ; // 4 para [ 0 ] =0 , para [ 1 ] = 1 , 2 , 3 ... ( SacL1CommonInfoType ) , para [ 2 ] =data_XXX , CQ00135166 add note } EcphySacErrcL1aCommonRes; typedef ErrcL1aEmptySignal EcphyStopEngInfoReq ; //ICAT EXPORTED STRUCT typedef struct EcphyEngInfoIndTag { Int8 mainRsrp ; Int8 diversityRsrp ; Int8 mainRsrq ; Int8 diversityRsrq ; Int8 comboRssi ; // 0 ~128 , real value need to minus 128 Int16 comboCqi ; // 0 ~15 or invalid ( 0xFFFF ) /*CQ00084368 start add*/ Int8 rankIndex ; // 1 , 2 , 0xFF ( no need to report ) , 0 ( init value ) Int8 mainDLMcs ; // 0 ~32 Int8 diversityDLMcs ; // 0 ~32 /*CQ00084368 end add*/ Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; Int8 reserved3 ; Int8 reserved4 ; Int8 reserved5 ; Int8 reserved6 ; Int8 reserved7 ; Int8 reserved8 ; Int8 reserved9 ; /*CQ00084368 start del*/ /* Int8 reserved10 ; Int8 reserved11 ; Int8 reserved12 ; */ /*CQ00084368 end del*/ } EcphyEngInfoInd; typedef ErrcL1aEmptySignal EcphyLteCcoGsmFailReq ; //ICAT EXPORTED STRUCT typedef struct EcphySetModeReqTag { Int16 simId ; Int16 sameOperator ; // same network operator. set 0 directly because L1 not use it. Int16 mode : 2 ; /*Bit0 , 1 : select RAT. 0x00 :WCDMA / TD , 0x01 :GSM , 0x10 :LTE , 0x11 :Wb / Gsm Reset*/ Int16 bitReserved : 6 ; /*Bit2-7:reserved*/ Int16 resumeFlag : 1 ; /*Bit8: RAT Resume Flag*/ Int16 modeSetCause : 7 ; /*Bit9-15:mode set cause*/ Int16 afcDacVal ; } EcphySetModeReq; //ICAT EXPORTED STRUCT typedef struct EcphySetModeCnfTag { // 4 for IPC 0x89 , common for all L1 Int16 simId ; Int8 dspMode ; /*0x40:Td , 0x50 :Gsm , 0x60 :LTE-Tdd , 0x70 :LTE-Fdd , 0x80 :Wb*/ Int8 dummy ; Int16 afcDacValue ; // only useful for set GSM mode cnf Int16 rfTemperature ; // L1A not use it. } EcphySetModeCnf; //ICAT EXPORTED STRUCT typedef struct EcphyComErrorIndTag { // 4 IPC 0xB4 ( PLP_COM_ERR ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComErrorInd ) + numOfFreePara * 2 // L1 can not provide simId info. Int16 errId ; /*CQ00149283 start add , the old IPC not contain coreId & dspResetEnable */ Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable /*CQ00149283 end add*/ Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. Int32 retPtr ; Int32 spPtr ; // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara } EcphyComErrorInd; //ICAT EXPORTED STRUCT typedef struct EcphyComExceptionIndTag { // 4 IPC 0x6 ( PLP_EXCEPTION ) , common for all L1 , size of this IPC is changeable ( <=320 bytes ) , IPC size = sizeof ( EcphyComExceptionInd ) + numOfFreePara * 2 // L1 can not provide simId info. /*CQ00149283 start add , the old IPC not contain any valid data */ Int16 errId ; Int16 coreId ; // MSA set fix to 3 Int16 dspResetEnable ; // 0 -disable , 1 -enable Int16 numOfFreePara ; // the flexible length of L1 debug data which followed spPtr. // 4 ... // 4 followed with L1 debug data , which length = numOfFreePara /*CQ00149283 end add , the old IPC not contain coreId & dspResetEnable */ } EcphyComExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyDspExceptionIndTag { L1ASimId simId ; Boolean reestOnCurrentCell ; // CQ00144577 modify , TRUE: directly reestablish on serving cell without cell search. Int8 reserved [ 3 ] ; } EcphyDspExceptionInd; //ICAT EXPORTED STRUCT typedef struct EcphyWifiSearchGapIndTag { L1ASimId simId ; Int16 gapLength ; // gap length indication for GSM. Int16 reserved ; } EcphyWifiSearchGapInd; //ICAT EXPORTED STRUCT typedef struct EcphyHoldOnBadVoiceIndTag { L1ASimId simId ; Boolean holdFlag ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; } EcphyHoldOnBadVoiceInd; //ICAT EXPORTED ENUM typedef enum L1ParamCtrlTypeTag { CTRL_TYPE_HIGH_SPEED_TRAIN , CTRL_TYPE_MOBILITY_STATE , CTRL_TYPE_TX_POWER , CTRL_TYPE_ENG_MODE_NCELL_MEASURE , /*CQ00124978 add*/ CTRL_TYPE_OFFSET , /*CQ00125448 add*/ CTRL_TYPE_TEST_SIM , /*CQ00139190 add*/ CTRL_TYPE_SISO_EST , /*CQ00139908 add*/ CTRL_TYPE_APP_TYPE , // CQ00144577 add CTRL_TYPE_SUPPORT_B60 , // CQ00146917 add CTRL_TYPE_VERIZON , /*CQ00152835 add , from abcfVendorSpecificInfoVerizonEnabled*/ CTRL_TYPE_INVALID =0X7FFFFFFF } L1ParamCtrlType; //ICAT EXPORTED ENUM typedef enum LteUeAppTypeTag { /*CQ00155410 start modify , refer to APP_TYE in L13_typ.h*/ LTE_UE_APP_TYPE_NON_SPECIAL =0 , LTE_UE_APP_TYPE_POC =1 , /*poc product*/ LTE_UE_APP_TYPE_UAV =2 , // CQ00152774 add for UVA LTE_UE_APP_TYPE_MIFI =3 , // CQ00153456 add for MIFI LTE_UE_APP_TYPE_POS =4 , /*pos product*/ LTE_UE_APP_TYPE_FP =5 , /*feature phone*/ LTE_UE_APP_TYPE_WATCH =6 , /*watch product*/ LTE_UE_APP_TPYE_NORMAL_DATA =7 , /*normal data module product*/ LTE_UE_APP_TYPE_RGSM_CN =8 , /*restrict uplink885-889 , downlink930-934Mhz , EGSM frequeny 999 -1019*/ LTE_UE_APP_TYPE_IOT =9 , /*if app type set to this , open all IOT feature*/ LTE_UE_APP_TYPE_POC_DSDS =10 , /*dsds for Poc , data prefer*/ LTE_UE_APP_TYPE_DM_DSDS =11 , /*dsds for data module , data prefer*/ LTE_UE_APP_TPYE_INVALID =0X7FFFFFFF /*CQ00155410 end modify*/ } LteUeAppType; //ICAT EXPORTED ENUM typedef enum LteHighSpeedTrainTypeTag { LEAVE_LTE_HIGH_SPEED_TRAIN , ENTER_LTE_HIGH_SPEED_TRAIN , SPEED_TYPE_INVALID =0X7FFFFFFF } LteHighSpeedTrainType; //ICAT EXPORTED ENUM typedef enum LteMobilityStateTypeTag { LTE_NORMAL_MOBILITY , LTE_HIGH_MOBILITY , MOBILITY_TYPE_INVALID =0X7FFFFFFF } LteMobilityStateType; //ICAT EXPORTED ENUM typedef enum LteTxPowerTypeTag { NOT_RAISE_TX_POWER , RAISE_TX_POWER , TX_POWER_TYPE_INVALID =0X7FFFFFFF } LteTxPowerType; //ICAT EXPORTED ENUM typedef enum LteEngModeNcellMeasureTypeTag { LEAVE_ENG_MODE_NCELL_MEASURE , ENTER_ENG_MODE_NCELL_MEASURE , ENG_MODE_NCELL_MEASURE_TYPE_INVALID =0X7FFFFFFF } LteEngModeNcellMeasureType; //ICAT EXPORTED STRUCT typedef struct L1ParamCtrlTag { L1ParamCtrlType ctrlType ; /* case: ctrlType=CTRL_TYPE_HIGH_SPEED_TRAIN: ctrlValue=0 : LEAVE_LTE_HIGH_SPEED_TRAIN ctrlValue=1 : ENTER_LTE_HIGH_SPEED_TRAIN case: ctrlType=CTRL_TYPE_MOBILITY_STATE: ctrlValue=0 : LTE_NORMAL_MOBILITY ctrlValue=1 : LTE_HIGH_MOBILITY case: CTRL_TYPE_TX_POWER: ctrlValue=0 : NOT_RAISE_TX_POWER ctrlValue=1 : RAISE_TX_POWER case: CTRL_TYPE_ENG_MODE_NCELL_MEASURE: / / CQ00124978 add ctrlValue=0 : LEAVE_ENG_MODE_NCELL_MEASURE ctrlValue=1 : ENTER_ENG_MODE_NCELL_MEASURE case: CTRL_TYPE_OFFSET: / / CQ00125448 add if offset != 0 , actual q_RxLevMin = q_RxLevMin ( SIB1 ) - ( offset-128 ) , else actual q_RxLevMin = q_RxLevMin ( SIB1 ) ctrlValue: offset case: CTRL_TYPE_TEST_SIM: / / CQ00139190 add ctrlValue=0 : not test sim ctrlValue=1 : is test sim case :CTRL_TYPE_SISO_EST: / / CQ00139908 add ctrlValue=0 : not siso est ctrlValue=1 : is siso est case :CTRL_TYPE_APP_TYPE: / / CQ00144577 add ctrlValue=0 : normal product ctrlValue=1 : is POC ctrlValue=2 : is UAV / / CQ00152774 add ctrlValue=3: is MIFI / / CQ00153456 add ctrlValue=4: is POS / / CQ00155410 add ... ctrlValue refer to LteUeAppType / / CQ00155410 add case: CTRL_TYPE_VERIZON: / / CQ00152835 add ctrlValue=0 : not Verizon ctrlValue=1 : Verizon */ Int32 ctrlValue ; } L1ParamCtrl; //ICAT EXPORTED STRUCT typedef struct EcphyCommonCtrlReqTag { L1ASimId simId ; Int8 numOfParamCtrl ; Int8 reserved0 ; Int8 reserved1 ; Int8 reserved2 ; L1ParamCtrl paramCtrl [ 8 ] ; } EcphyCommonCtrlReq; //ICAT EXPORTED STRUCT typedef struct EcphyFlashDspReqTag { Int16 eraseStartFlag ; Int16 rsvdWord ; Int32 cpmaxDelayTime ; Int32 cp32kTimer ; } EcphyFlashDspReq; //ICAT EXPORTED ENUM typedef enum SacL1CommonInfoTypeTag { // 4 1 ) for para [ 0 ~1 ] value in 0x02E4 if commonId=161 // 4 2 ) for para [ 0 ~1 ] value in 0x033C if commonId=163 SAC_L1_COMMON_INFO_TA = 1 , /*para [ 0 ] =0 , para [ 1 ] =1 , for #42252 TA report , by Zhaojingjing*/ SAC_L1_COMMON_INFO_BAND_POWER_BACKOFF = 2 , /*para [ 0 ] =0 , para [ 1 ] =2 , for #50549 band bandwidth power back off , by Shikefu*/ SAC_L1_COMMON_INFO_FREQ_OFFSET = 3 , /*para [ 0 ] =0 , para [ 1 ] =3 , for #50169 power issue , by Chenxiaohu*/ SAC_L1_COMMON_INFO_RA_MSG2_TA = 4 , /*para [ 0 ] =0 , para [ 1 ] =4 , for #60131 RA MSG2 TA report , by Zhaojingjing , CQ00137486 add*/ SAC_L1_COMMON_INFO_SFN_SUBFRAME = 5 , /*para [ 0 ] =0 , para [ 1 ] =5 , for #93804 SFN & subFrame report , by Anshasha , CQ00147567 add , AT*L1DEBUG= " 5 " */ SAC_L1_COMMON_INFO_SP2T = 6 , /*para [ 0 ] =0 , para [ 1 ] =6 , para [ 2 ] =0 / 1 for #89454 SP2T config , by Jinyuanfeng CQ00148634 add , AT*L1DEBUG= " 600 " or AT*L1DEBUG= " 601 " , not need L1 cnf*/ /*CQ00152336 start add*/ SAC_L1_COMMON_INFO_ASDIV_CFG = 7 , /*para [ 0 ] =0 , para [ 1 ] =7 , for #111096 Asdiv config , not need L1 cnf , AT*L1DEBUG= " 0x XXXXX " */ SAC_L1_COMMON_INFO_ASDIV_QUERY = 8 , /*para [ 0 ] =0 , para [ 1 ] =8 , for #111096 Asdiv query status , AT*L1DEBUG= " 8 " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_CFG = 9 , /*para [ 0 ] =0 , para [ 1 ] =9 , for #111096 Asdiv antenna config , enable / disable L1 antenna switch auto report , AT*L1DEBUG= " 0x X " */ SAC_L1_COMMON_INFO_ASDIV_ANTENNA_QUERY = 10 , /*para [ 0 ] =0 , para [ 1 ] =10 , for #111096 Asdiv antenna query status , AT*L1DEBUG= " 0 A " */ /*CQ00152336 end add*/ SAC_L1_COMMON_INFO_MAX = 0xFFFF , } SacL1CommonInfoType; //ICAT EXPORTED ENUM typedef enum LteEcphyComCmdOpIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) // 4 infact , RSP can reuse the same id as REQ /*CQ00124987 start add*/ CMID_ADC_VALURE_REQ = 1 , // 4 for old adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) CMID_ADC_VALURE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) /*CQ00124987 end add*/ CMID_ADC_RTP_VALURE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) // CQ00127716 add CMID_ADC_VALURE_REQ_EXT = 4 , // 4 for new adc query req 0x02E4 ( battery voltage or / and temperature ) // CQ00128288 add // CQ00130833 modify from CMID_ADC_RTP_VALURE_REQ /*CQ00129832 start add*/ CMID_PCH_ENHANCE_VMIN_IND =5 , // L1->L1A , require for modify Vmin CMID_PCH_ENHANCE_VMIN_CNF =6 , // L1A->L1 , response for modify Vmin /*CQ00129832 end add*/ /*CQ00132743 start add*/ CMID_L1_BACKUP_DATA_IND =7 , // L1->L1A , afc & temp value CMID_L1_BACKUP_DATA_REQ =8 , // L1A->L1 , afc & temp value /*CQ00132743 end add*/ CMID_PLAT_L1_LOW_TEMP_REQ = 9 , // CQ00135434 add , L1A->L1 , plat indicate L1 enter / leave low temperature ( -20 ) for better cell search , no need L1 response. /*CQ00143486 start add*/ CMID_PLAT_IDAC_CONFIG_REQ = 10 , CMID_PLAT_IDAC_CONFIG_RSP = 11 , /*CQ00143486 end add*/ // 4 if modify , should also modify NR definition , and modify L1aHandleEcphyCommonRsp ( ) CMID_RF_TEMPERATURE_REQ = 75 , // SAC CI_DEV_PRIM_READ_RF_TEMP_REQ ( 75 ) CMID_RF_TEMPERATURE_CNF = 76 , /*CQ00153009 start add , update from NR*/ CMID_SAC_RFIC_REGISTER_READ = 77 , // common for Req & Rsp CMID_SAC_RFIC_REGISTER_SET = 78 , // common for Req & Rsp CMID_SAC_RFIC_BAND_INDEX = 79 , // common for Req & Rsp /*CQ00153009 end add*/ CMID_SAC_L1_COMMON_REQ = 161 , // SAC->ERRC->L1A->L1 , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_REQ , SAC set the value by getCommonIdFromCiPrimId ( ) // CMID_SAC_L1DEBUG_CNF = 162 , // CQ00135166 del , L1a & L1 not use it. CMID_SAC_L1_COMMON_IND =163 , // L1->L1A , differ functions by para [ 0 ~1 ] , CQ00135166 modify from CMID_SAC_L1DEBUG_INFO_IND CMID_L1_ASSET_DEBGU_IND = 196 , // 0xC4 , CQ00111737 add CMID_L1_LOG_INFO_IND = 197 , // 0xC5 , CQ00127126 add , for L1 log info to acat // CQ00135166 modify CMID_SAC_L1_DYNAMIC_DRX_REQ = 235 , // 0xEB , CQ00135166 add , SAC add it for #25746 , to config multiple drx to L1. CMID_RESERVED_MAX = 0xFF // CQ00135166 add , max value is 255 . } LteEcphyComCmdOpId; //ICAT EXPORTED STRUCT typedef struct LteEcphyComCmdFormartTag { /* EcphySacErrcL1aCommonReq: L1A-> L1 , use 0x02E4 for SAC-ERRC-L1A-L1 , only use commonId=161 , 235 ... differ functions by data [ 0 ~1 ] . EcphySacErrcL1aCommonRes: L1->L1A , use 0x33C for L1 report , only use commonId=163 , ... differ functions by data [ 0 ~1 ] . LteEcphyComCmdFormart: 1 ) L1A-> L1 , use 0x02E4 to send ADC / RF temp value query / PchEnhanceVminCnf... to L1. Differ from EcphySacErrcL1aCommonReq for MAX_SIZE , 2 ) L1->L1A , use 0x33C for L1 to send L1A data , same structure as EcphySacErrcL1aCommonRes. LteEcphyComCmdL1LogInfo: L1->L1A , use 0x33C for L1->L1A to log L1 info to acat */ /* EcphySacErrcL1aCommonReq & LteEcphyComCmdFormart differ by MAX_size , use the same opcode ( 0x02E4 ) , share the same commonId definition ( LteEcphyComCmdOpId ) . EcphySacErrcL1aCommonRes & LteEcphyComCmdFormart & LteEcphyComCmdL1LogInfo different structure , but use the same opcode ( 0x33C ) , share the same commonId definition ( LteEcphyComCmdOpId ) . */ Int8 commonId ; // details refer to LteEcphyComCmdOpId Int8 lenOfPara ; // UNIT byte Int8 dummy [ 2 ] ; Int8 para [ 256 ] ; } LteEcphyComCmdFormart; //ICAT EXPORTED STRUCT typedef struct L1aLteForceTxCmdTag { // 4 L1A->L1: 0x383 , calibration_apc Int16 operationId ; // 4 set it=3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 Reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceTxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdTag { // 4 L1A->L1: 0x382 , calibration_agc Int16 operationId ; // 4 set it =3 Int16 band ; /*1: band1 ; 2 : band2*/ Int32 earfcn ; SignedInt16 power ; /*TX RX power , in 0.100000 dBm unit*/ Int16 bandwidth ; /*LTE Rx bandwidth , Range [ 0 , 5 ] */ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmd; //ICAT EXPORTED STRUCT typedef struct L1aLteForceRxCmdAckTag { // 4 L1->L1A: 0x385 , calibration_ack Int16 operationId ; // 4 set it = 11 SignedInt16 rssiPri ; /*indicate the rssi value of primary antenna. Unit: dB , invalid value=0x7FFF*/ SignedInt16 rssiSec ; /*indicate the rssi value of secondary antenna. Unit: dB , invalid value=0x7FFF*/ Int16 reserved [ 32 ] ; /*reserved for 32 words*/ } L1aLteForceRxCmdAck; //ICAT EXPORTED STRUCT typedef struct LteBackupL1DataTag { // L1 report data after MIB for optimize cell search , AB will save it in NVM before power down ( exclude PSM , whick saved in ErrcPsmContext ) , after power on , AB will set the L1A backupData , L1A will send the data after ecphyClassMarkReq. Int16 backupL1Data [ 20 ] ; // 4 max num should set same as AB. } LteBackupL1Data; //ICAT EXPORTED STRUCT typedef struct LteCalExtentionConfigTag { Int16 band26_subset5 ; // 0 : disable , 1 : enable ; not use boolean because L1 require Cal data type Int16 Int16 band26_subset18 ; Int16 band26_subset19 ; Int16 band12_subset17 ; Int16 band41_subset38 ; Int16 band66_subset4 ; Int16 band25_subset2 ; Int16 reserved [ 93 ] ; // 100 - up words. If the NVM become too large , need ack & Semaphore } LteCalExtentionConfig; //ICAT EXPORTED STRUCT typedef struct GnssBlkDataTag { Int16 band ; SignedInt16 txPower ; } GnssBlkData; //ICAT EXPORTED STRUCT typedef struct LteGnssBlkConfigTag { Int16 lteBandNum ; Int16 nrBandNum ; Int16 gsmBandNum ; Int16 reserved ; GnssBlkData lteGnssBlkData [ 20 ] ; GnssBlkData nrGnssBlkData [ 20 ] ; GnssBlkData gsmGnssBlkData [ 2 ] ; } LteGnssBlkConfig; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2OneBandTag { Int32 UlChannel ; // indicate the uplink channel. Int8 Band ; Int8 Bandwidth ; Int8 mxcal_I ; Int8 mxcal_Q ; Int8 vdd ; Int8 reserved [ 3 ] ; } LteCaliIp2OneBand; //ICAT EXPORTED STRUCT typedef struct LteCaliIp2ConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int8 Ip2CaliNum ; SignedInt8 TxPower ; Int32 mode ; LteCaliIp2OneBand Ip2BandX [ 30 ] ; } LteCaliIp2Config , // Int16 LTE_CAL_IP2_RESULT_DATA = 0x20 LteCaliIp2TableInd; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchTypeTag { Int16 Band ; Int16 Reserved ; Int32 Freq ; } LteSpurNotchType; //ICAT EXPORTED STRUCT typedef struct LteSpurNotchConfigTag { // 4 operation ID payload Buf [ 0 ] when send IPC , empty 16 bit for 32 -bit alignment Int16 lteSpurNotchNum ; LteSpurNotchType lteSpurNotchType [ 30 ] ; } LteSpurNotchConfig; //ICAT EXPORTED STRUCT typedef struct NEcphyPsmDataIndTag { L1ASimId simId ; Int16 dataLen ; Int16 reserved ; Int8 l1PsmData [ 64 ] ; } EcphyPsmDataInd , // opcode=0x032F L1 indicate PSM data for catM / NB to PS before enter PSM EcphyPsmDataRsp , // opcode=0x033F PS response PSM data for catM / NB to L1 after exit PSM LteL1PsmData; typedef unsigned short UINT16 ; typedef unsigned char UINT8 ; typedef Int16 L1RssiScore ; //ICAT EXPORTED ENUM typedef enum { // FDD BANDS PLE_EUTRA_FIRST_FDD_BAND = 0 , PLE_EUTRA_CARRIER_LTEBAND_1 = PLE_EUTRA_FIRST_FDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_2 , PLE_EUTRA_CARRIER_LTEBAND_3 , PLE_EUTRA_CARRIER_LTEBAND_4 , PLE_EUTRA_CARRIER_LTEBAND_5 , PLE_EUTRA_CARRIER_LTEBAND_6 , PLE_EUTRA_CARRIER_LTEBAND_7 , PLE_EUTRA_CARRIER_LTEBAND_8 , PLE_EUTRA_CARRIER_LTEBAND_9 , PLE_EUTRA_CARRIER_LTEBAND_10 , PLE_EUTRA_CARRIER_LTEBAND_11 , PLE_EUTRA_CARRIER_LTEBAND_12 , PLE_EUTRA_CARRIER_LTEBAND_13 , PLE_EUTRA_CARRIER_LTEBAND_14 , PLE_EUTRA_CARRIER_LTEBAND_17 = 16 , PLE_EUTRA_CARRIER_LTEBAND_18 , PLE_EUTRA_CARRIER_LTEBAND_19 , PLE_EUTRA_CARRIER_LTEBAND_20 , PLE_EUTRA_CARRIER_LTEBAND_21 , // TDD BANDS PLE_EUTRA_FIRST_TDD_BAND = 32 , PLE_EUTRA_CARRIER_LTEBAND_33 = PLE_EUTRA_FIRST_TDD_BAND , PLE_EUTRA_CARRIER_LTEBAND_34 , PLE_EUTRA_CARRIER_LTEBAND_35 , PLE_EUTRA_CARRIER_LTEBAND_36 , PLE_EUTRA_CARRIER_LTEBAND_37 , PLE_EUTRA_CARRIER_LTEBAND_38 , PLE_EUTRA_CARRIER_LTEBAND_39 , PLE_EUTRA_CARRIER_LTEBAND_40 , PLE_EUTRA_CARRIER_LTEBAND_41 , PLE_EUTRA_CARRIER_LTEBAND_42 , PLE_EUTRA_CARRIER_LTEBAND_43 , PLE_EUTRA_CARRIER_LTEBAND_44 , PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS , PLE_EUTRA_INVALID_BAND = PLE_EUTRA_CARRIER_NUM_OF_SUPPORTED_BANDS } PleEutraCarrierBand_te_enum; typedef UINT8 PleEutraCarrierBand_te ; //ICAT EXPORTED STRUCT typedef struct { Boolean gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Boolean wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ Int8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plmRssiScanFreqList_ts; //ICAT EXPORTED ENUM typedef enum { GSM_RAT_PLMS = 0 , UMTS_RAT , EUTRA_RAT , } plmRssiScanRat_te_enum; typedef UINT8 plmRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct { INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; plmRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Boolean bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Boolean listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plmRssiScanFreqList_ts freqList [ ( 32 ) ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PleLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ L1RssiScore *wbResult_p ; /**< WB Pointer to the results in the shared memory */ L1RssiScore *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plmRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { RSSI_SCAN_CNF_NO_ERRORS = 0 , RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plmRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plmRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef struct { // #if defined ( UPGRADE_DSDSWB ) INT8 simId ; INT8 reserved0 ; INT8 reserved1 ; INT8 reserved2 ; // #endif plmRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plmRssiScanCnf_ts; typedef UINT8 plmRssiScanAbortReq ; typedef UINT8 plmRssiScanAbortCnf ; typedef Int8 CipheringKey [ 8 ] ; typedef Int8 GprsGsmKc [ 16 ] ; //ICAT EXPORTED STRUCT typedef struct AsmeKeyTag { Int8 data [ 32 ] ; } AsmeKey; //ICAT EXPORTED STRUCT typedef struct NasCountTag { Int8 data [ 4 ] ; } NasCount; //ICAT EXPORTED STRUCT typedef struct KeyNasIntTag { Int8 data [ 16 ] ; } KeyNasInt; //ICAT EXPORTED STRUCT typedef struct KeyNasEncTag { Int8 data [ 16 ] ; } KeyNasEnc; //ICAT EXPORTED STRUCT typedef struct { UINT32 aplpQDepth ; UINT32 aplpStackSize ; UINT32 aplpTaskPriority ; UINT32 aplpHighQDepth ; UINT32 aplpHighStackSize ; UINT32 aplpHighTaskPriority ; } aplpConfigParams_ts; //ICAT EXPORTED ENUM typedef enum { DISABLE_L1C_FEATURE = 0 , ENABLE_L1C_FEATURE = 1 } l1FeatureEnable_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts enableSleep ; l1FeatureEnable_ts SleepAlike ; l1FeatureEnable_ts enableExtendedTracing ; l1FeatureEnable_ts periodicDetected ; } featuresParams_ts; //ICAT EXPORTED STRUCT typedef struct { l1FeatureEnable_ts RESERVED1 ; l1FeatureEnable_ts RESERVED2 ; l1FeatureEnable_ts AnritsuSetup ; l1FeatureEnable_ts RESERVED4 ; l1FeatureEnable_ts frameToDiag ; l1FeatureEnable_ts RESERVED6 ; l1FeatureEnable_ts RESERVED7 ; l1FeatureEnable_ts RESERVED8 ; } featuresUnderDevelopment_ts; //ICAT EXPORTED STRUCT typedef struct { long dpchMaxInitPower [ 5 ] ; long dpchMinInitPower ; long dpchMaxPowerLevel [ 5 ] ; long prachMaxInitPower [ 5 ] ; long prachMinInitPower ; long prachMaxPowerLevel [ 5 ] ; UINT32 numFramesToWakePccpchSkip ; } MS_configParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Qin ; UINT16 Qout ; } dataPkg_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxPccpchShifts ; UINT8 maxTmUpdtB4DummyTracker ; UINT8 tccInterrupt0Offset ; UINT8 tccInterrupt1Offset ; } tccTmPkg_ts; //ICAT EXPORTED ENUM typedef enum { NORMAL_MODE = 0 , // handle COM_WARNING as warnings , COM_ERROR and DSP_EXCEPTION as errors ALL_ERRORS = 1 , // handle all as errors ALL_WARNINGS = 2 , // handle all as warnings LISTEN_TO_DSP= 3 , // handle according to DSP message ( bit indicating treatment way ) TRACE_N_CONTINUE = 4 // send trace to ICAT and do nothing } L1ErrHandleMode_e; //ICAT EXPORTED STRUCT typedef struct { L1ErrHandleMode_e plpErrHandleMode ; L1ErrHandleMode_e aplpErrHandleMode ; l1FeatureEnable_ts enablePlwErrIndToPs ; UINT8 pad ; } L1_ErrorHandlerConfig_ts; //ICAT EXPORTED STRUCT typedef struct { aplpConfigParams_ts aplpConfigParams ; featuresParams_ts featuresParams ; MS_configParams_ts MS_configParams ; dataPkg_ts dataPackageParams ; tccTmPkg_ts tccTmPkgParams ; featuresUnderDevelopment_ts developmentSwitch ; L1_ErrorHandlerConfig_ts l1ErrHandler ; } l1cNvm_ts; //ICAT EXPORTED ENUM typedef enum { reason_stop =0 , reason_start } ScanReqReason_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid [ 6 ] ; UINT8 padding [ 2 ] ; INT32 rssi ; UINT32 channel_number ; // } channelCellInfo_ts; //ICAT EXPORTED STRUCT typedef enum { NULL_FAILURE =0 , FAILURE_DUAL_SIM_CAMP =1 , FAILURE_SERVICE_ONGOING =2 , FAILURE_SERVICE_ONGOING_NOT_ENTER_IDLE =6 , FAILURE_NOT_ENTER_IDLE =4 , FAILURE_DSP_NOT_SUPPORT = 8 , } wifi_failure_cause_te; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; // CQ00147950 channelCellInfo_ts channelCellList [ 10 *6 ] ; ////// CQ00143839 wifi_failure_cause_te wifi_failure_cause ; UINT8 pad1 [ 3 ] ; } WFScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 ] ; } WFScanIndPLP_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; // scanRestult_te scanRestult ; UINT32 WifiScanReportTime ; } WFScanIndBk_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bssid_number ; channelCellInfo_ts channelCellList [ 10 *6 ] ; } WFScanIndBkCp2Ind_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 rxDataFormat [ 2 ] ; } dlDataReportFormat_ts; typedef UINT8 processValidity_te ; //ICAT EXPORTED ENUM enum processValidity_values { PARAS_AND_DATA_ARE_INVALID = 0x00 , // Init state or state after L1 reset PARAS_IS_VALID = 0x01 , // Indicate UMAC has finished parameters calculate ( like Etfci etc ) PARAS_AND_DATA_IS_VALID = 0x02 // Indicate UMAC has finished E-TFCI selection and DTC data transfer }; typedef UINT8 processState_te ; //ICAT EXPORTED ENUM enum processState_values { DTX = 0x00 , INITIAL_TRANSMISSION = 0x01 , RETRANSMISSION = 0x02 , CLEAR= 0xFF }; //ICAT EXPORTED STRUCT typedef struct { UINT8* txDataPtr ; // Pointer to the data to be transmitted UINT16 trBkSize ; // 0 means that there are no bits to be transmitted processValidity_te processValidity ; // Invalid , Valid UINT8 cfn ; // 0 ..255 UINT8 subFrame ; // 0 ..4 , N / A in TTI 10 ms processState_te processState ; UINT8 rsn ; UINT8 happyBit ; UINT8 deltaHarq ; // 0 ..6 , denotes power offset from the HARQ profile of the relevant MAC-d flow UINT8 etfci ; // 0 ..127 // CPC parameters UINT8 startLongPreamble ; // 0 - FALSE , 1 - TRUE UINT8 preambleEndCfn ; // 0 , 1 ...255 UINT8 preambleEndSf ; // 0 , 1 ...4 UINT8 includesScheduledDataTransmission ; // 0 - FALSE , 1 - TRUE UINT8 MONITOR_GRANTS ; // 0 - FALSE , 1 - TRUE } plwPhyEdchTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem2ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem2ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 macePduTrBkMem10ms ; UINT8 pad [ 3 ] ; } macePduTrBkMem10ms_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfcRestrictionResult [ ( 7 ) ] ; UINT8 pad ; } etfcRestrictionDspResults; //ICAT EXPORTED STRUCT typedef struct { UINT16 initialCfn ; // This address will contain the CFN that the current MAC-e interrupt is synchronizing. // It is used by MAC to synchronize it ' s internal CFN to the DSP CFN. UINT8 UPH ; // UE Power Headroom UINT8 etfcRestrictionControl ; // CPC parameters UINT8 MAC_DTX_Enabled ; // 0 - Disabled , 1 - Enabled UINT8 DTX_CYCLE1_2 ; // bit0 ( LSB ) : 0 - Cycle1 , 1 - Cycle2 // bit1: Validity on bit0 UINT8 Reset_MAC_Timers ; // 0 - FALSE , 1 - TRUE UINT8 CPC_MACE_TX_MISS_INDICATION ; // 0 - Mac-e did not miss 1 ms thereshold , 1 - Mac-e missed 1 ms threshold } edchSharedMemGeneralParameters_ts; //ICAT EXPORTED STRUCT typedef struct { // stores the results of Leref , m* ( Bed , m ) ^2 UINT32 leRefMultBedSquare [ ( 8 ) ] ; // ( With Q0 ) // for extrapolation stores the results of Keref , m / ( Leref , m* ( Bed , m ) ^2 ) // for interpolation stores the results of ( Keref , m+1 - Keref , m ) / ( Leref , m+1* ( Bed , m+1 ) ^2 - Leref , m* ( Bed , m ) ^2 ) UINT32 ratioValue [ ( 8 ) ] ; UINT8 ratioQ [ ( 8 ) ] ; UINT8 maxValidEtfci [ 8 ] ; } etfcRestrictionControl_ts; //ICAT EXPORTED STRUCT typedef struct { plwPhyEdchTtiInfo_ts * edchTtiTxParametersAddr ; // TX data for this TTI dlDataReportFormat_ts * edch2msTtiRxParametersAddr [ ( 8 ) ] ; // RX data per Process dlDataReportFormat_ts * edch10msTtiRxParametersAddr [ ( 4 ) ] ; // RX data per Process UINT8 * tti2msMacEPduAddr [ ( 8 ) ] ; // address of the MAC-e PDUs for TTI 2 ms configuration UINT8 * tti10msMacEPduAddr [ ( 4 ) ] ; // address of the MAC-e PDUs for TTI 10 ms configuration etfcRestrictionControl_ts * edchEtfcRestrictionControlAddr ; etfcRestrictionDspResults * etfcRestrictionResultsAddr ; // ETFC restriction results edchSharedMemGeneralParameters_ts * edchSharedMemGeneralParametersAddr ; // Pointer to structure containing general paramets } edchSharedMemAddrInd_ts; typedef UINT32 Earfcn ; typedef UINT8 plActionType_te ; //ICAT EXPORTED ENUM enum plActionType_values { ACTION_TYPE_START = 0x00 , ACTION_TYPE_STOP = 0x01 }; typedef UINT8 plFreqScanType_te ; //ICAT EXPORTED ENUM enum plFreqScanType_values { RF_SCAN_LIST = 0x00 , RF_SCAN_RANGE = 0x01 , RF_SCAN_FFT = 0x02 }; typedef UINT8 sttdInd_te ; //ICAT EXPORTED ENUM enum sttdInd_values { STTD_OFF = 0x00 , STTD_ON = 0x01 }; typedef UINT8 sfnMeasAction_te ; //ICAT EXPORTED ENUM enum sfnMeasAction_values { NO_MEASUREMENTS = 0x00 , SFN_SFN_MEAS_TYPE1 = 0x01 , SFN_SFN_MEAS_TYPE2 = 0x02 , SFN_CFN_MEASUREMENT = 0x03 }; typedef UINT8 plCctrchId_te ; //ICAT EXPORTED ENUM enum plCctrchId_values { CCTRCH_ID_DPCH = 0x00 , CCTRCH_ID_PDSCH = 0x01 }; typedef UINT8 plFreqScanMode_te ; //ICAT EXPORTED ENUM enum plFreqScanMode_values { FG_FREQ_SCAN = 0x00 , BG_FREQ_SCAN = 0x01 }; typedef UINT8 plIntraMeasOnRachReportType_te ; //ICAT EXPORTED ENUM enum plIntraMeasOnRachReport_values { REPORT_IMMEDIATLY = 0x00 , REPORT_SERVING = 0x01 , SERVING_1_BEST_NEIGHBOUR = 0x02 , SERVING_2_BEST_NEIGHBOUR = 0x03 , SERVING_3_BEST_NEIGHBOUR = 0x04 , SERVING_4_BEST_NEIGHBOUR = 0x05 , SERVING_5_BEST_NEIGHBOUR = 0x06 , SERVING_6_BEST_NEIGHBOUR = 0x07 }; typedef UINT8 measReportingMethod_te ; //ICAT EXPORTED ENUM enum measReportingMethod_values { PERIODICAL_REPORTING = 0x00 , EVENT_TRIGGERED_REPORTING = 0x01 }; typedef UINT8 plBlerChReqNum_te ; //ICAT EXPORTED ENUM enum plBlerChReqNum_values { TRCH_BLER_FIRST_REQ = 0x00 , TRCH_BLER_SECOND_REQ = 0x01 }; typedef UINT8 gsmCellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum gsmCellMeasIndTypes_values { RSSI_ONLY = 0x00 , RSSI_AND_TIME_DIFF = 0x01 }; typedef UINT8 refTimeDiffToCellAccuracy_te ; //ICAT EXPORTED ENUM enum refTimeDiffToCellAccuracy_values { TIME_DIFF_ACCURACY_40 = 0x00 , TIME_DIFF_ACCURACY_256 = 0x01 , TIME_DIFF_ACCURACY_2560 = 0x02 }; typedef UINT8 txSlotStatus_te ; //ICAT EXPORTED ENUM enum txSlotStatus_values { TRANSMITTER_OPEN = 0x01 , TRANSMITTER_CLOSED_CM = 0x02 , TRANSMITTER_CLOSED_OUT_OF_SYNC = 0x03 , TRANSMITTER_OPEN_AT_MIN_PWR = 0x04 , TRANSMITTER_OPEN_AT_MAX_PWR = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ?6383 ) RF channel number */ INT8 rssiInd ; /* ( -120? ) dBm measured RSSI */ BYTE pad1 ; INT16 scoreInd ; BYTE pad2 [ 2 ] ; } utraFreqRxLevel_ts; typedef UINT8 freqScanErrCode_te ; //ICAT EXPORTED ENUM enum freqScanErrCode_values { FREQ_SCAN_OK = 0x00 , FREQ_SCAN_FG_WRONG_MODE = 0x01 , FREQ_SCAN_BG_WRONG_MODE = 0x02 , FREQ_SCAN_UNDEFINED_MODE = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfFreqs ; BYTE pad ; freqScanErrCode_te refusalCode ; utraFreqRxLevel_ts freqList [ 352 ] ; } freqScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te startStopInd ; plFreqScanType_te actionType ; UINT8 numOfFreqs ; plFreqScanMode_te freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } freqScanList_ts; typedef UINT8 cellMeasIndTypes_te ; //ICAT EXPORTED ENUM enum cellMeasIndTypes_values { ENERGY_ONLY = 0x01 , ENERGY_SFN_SFN = 0x03 , ENERGY_SFN_CFN = 0x05 , ENERGY_DETECTED_CELL = 0x08 , PENDING_MEASUREMENT = 0x09 , CELL_NOT_FOUND = 0x0A , INTRA_DETECTED_CELL = 0x0D , INTRA_TM_CELL = 0x0E , INDICATION_TYPE_MASK = 0x0F }; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; INT16 utraRssi ; UINT16 sfnMeas ; UINT16 sfnOrCfnServ ; UINT16 chipOffset ; Bool frameInfoPresent ; UINT8 clientBitmap ; cellMeasIndTypes_te indicationTypes ; BYTE pad [ 3 ] ; // will be used for debug pad [ 1 ] = dbCellIndex ; pad [ 2 ] = PathInfoIndex ; pad [ 3 ] = XfnSfnInfoIndex } monCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; BYTE pad [ 3 ] ; monCellInd_ts cellList [ 32 ] ; } interFreqCellMeasInd_ts; typedef UINT8 detectedReportingMode_te ; //ICAT EXPORTED ENUM enum detectedReportingMode_values { ONE_SHOT = 0x00 , // not used PERIODIC_REPORT = 0x01 , // pyin detect@Dch , APLP will change DetectedDb.DetectedMeasModeState to DETECTED_MEAS_MODE_IN_PERIODIC STOP_FIRST_FOUND = 0x02 , // pyin BG / FG PLMN search , APLP will set DetectedDb.bRunUntilFound REPORT_MORE_CELLS = 0x03 // not used }; typedef UINT8 setWbMode_te ; //ICAT EXPORTED ENUM enum setWbMode_values { WB_INIT = 0x00 , SET_WB_TO_PCCPCH = 0x01 , SET_WB_TO_DCH = 0x02 , SET_WB_TO_DETECTED = 0x03 , SET_WB_TRANSITION_FAILURE = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; Bool initialMode ; UINT8 numOfDlUarfcns ; detectedReportingMode_te reportMode ; UINT16 dlUarfcn [ 100 ] ; Bool shortAcquisition ; // pyin not used Bool includeRRCRequestedCells ; Bool longBgSearch ; // pyin not used BYTE pad [ 1 ] ; } plDetectedCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { refTimeDiffToCellAccuracy_te refTimeDiffToCellAccuracy ; BYTE pad ; UINT16 refTimeDiff ; } refTimeDiffToServCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 clientBitmap ; sttdInd_te sttdInd ; UINT16 dlPriScramblingCode ; sfnMeasAction_te sfnTimeDiffMeasAction ; Bool sfnDecodedByL1 ; Bool refTimeDiffToServCellUsed ; BYTE pad ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } plMonCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; sttdInd_te sttdInd ; Bool refTimeDiffToServCellUsed ; UINT16 dlPriScramblingCode ; BYTE pad2 [ 2 ] ; refTimeDiffToServCell_ts refTimeDiffToServCell ; } cellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; cellInfo_ts cellList [ 42 ] ; } cellinfoList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; Bool sfnSfnMeasInDrxDisable ; UINT16 dlUarfcn ; UINT8 detectedCellsClientBitmap ; Bool reportTmCells ; UINT8 pad [ 1 ] ; Bool renewMode ; plMonCellInfo_ts cellList [ 42 ] ; } plIntraFreqCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad ; UINT16 dlUarfcn ; plMonCellInfo_ts cellList [ 32 ] ; } plInterFreqCellMeas_ts; typedef UINT8 cellLockRat_te ; //ICAT EXPORTED ENUM enum cellLockRat_values { CELL_LOCK_ON_WB_RAT = 0x00 , CELL_LOCK_ON_GSM_RAT = 0x01 , CELL_LOCK_ON_LTE_RAT = 0x02 , CELL_LOCK_ON_NR_RAT = 0x03 }; //ICAT EXPORTED STRUCT typedef struct { Bool enableCellLock ; UINT8 band ; cellLockRat_te cellLockRat ; UINT8 pad ; Earfcn ARFCN ; UINT16 scrCode ; } plCellLockMeas_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 trchID ; /* 0 ...31 */ plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; /* 1 ...512 */ UINT16 numOfBadCrc ; /* 1 ...512 */ UINT16 pendingAfterTrigger ; /* 1 ...512 */ UINT16 timePeriod ; /* 10 ...64000 */ } qualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeas_ts qualMeas [ 16 ] ; } plTrchBlerMeas_ts; typedef UINT8 reportContent_te ; //ICAT EXPORTED ENUM enum reportContent_values { NON_DRX_IND = 0 , ALL_MEASURED_CELLS = 1 , SERVING_CELL_ONLY = 2 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; UINT8 numOfPendingCells ; UINT8 numOfCellsNotFound ; reportContent_te reportContent ; monCellInd_ts cellList [ 42 ] ; UINT8 slotFormat ; INT8 tx_power ; UINT16 padding ; } intraFreqCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad1 [ 3 ] ; UINT16 dlUarfcn [ 7 ] ; BYTE pad2 [ 2 ] ; monCellInd_ts cellList [ 7 ] ; } uarfcnMeasOnRachIntra_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; UINT16 dlUarfcn [ 2 ] ; monCellInd_ts cellList [ 2 ] ; } uarfcnMeasOnRachInter_ts; //ICAT EXPORTED STRUCT typedef struct { uarfcnMeasOnRachIntra_ts intraCellsOnRach ; uarfcnMeasOnRachInter_ts interCellsOnRach ; } cellMeasIndOnRach_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; } measuredCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfCells ; BYTE pad [ 3 ] ; measuredCellInfo_ts cellList [ 32 ] ; } measuredCellsInd_ts; //ICAT EXPORTED STRUCT typedef struct { BOOL LastInDrx ; UINT32 TimeForNextLteInd ; } endOfDrxMeasurementInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trchId ; plBlerChReqNum_te trchRequestNum ; /* TRCH_BLER_FIRST_REQ or TRCH_BLER_SECOND_REQ */ plCctrchId_te cctrchId ; measReportingMethod_te reportingMethod ; INT8 blerLogInd ; BYTE pad [ 3 ] ; UINT16 numOfTotalCrc ; UINT16 numOfBadCrc ; } qualMeasList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfElements ; BYTE pad [ 3 ] ; qualMeasList_ts qualMeasList [ 16 ] ; } trchBlerInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 txPower [ 15 ] ; UINT16 txMaxPower [ 15 ] ; BYTE pad1 ; txSlotStatus_te slotStatus [ 15 ] ; BYTE pad2 ; } txPowInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 rlRxTxTimeDiff ; } rlRxTxDiff_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRls ; BYTE pad [ 3 ] ; rlRxTxDiff_ts rlRxTxDiff [ 6 ] ; } ueRxTxTimeDiffInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool immediateActivation ; BYTE pad ; UINT16 activationTimeNum ; } activationTime_ts; typedef UINT8 trChType_te ; //ICAT EXPORTED ENUM enum trChType_values { TRCH_TYPE_BCH = 0x00 , TRCH_TYPE_PCH = 0x01 , RESERVED_TRCH_TYPE = 0x02 , TRCH_TYPE_FACH = 0x03 , TRCH_TYPE_DSCH = 0x04 , TRCH_TYPE_RACH = 0x05 , TRCH_TYPE_DCH_UL = 0x06 , TRCH_TYPE_DCH_DL = 0x07 , TRCH_TYPE_FACH_FOR_CBS = 0x08 , TRCH_TYPE_HSDSCH = 0x09 }; typedef UINT8 tti_te ; //ICAT EXPORTED ENUM enum tti_values { TTI_2 = 2 , TTI_10 = 10 , TTI_20 = 20 , TTI_40 = 40 , TTI_80 = 80 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 trChId [ 16 ] ; trChType_te trChType [ 16 ] ; BYTE pad [ 3 ] ; } trChList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTfc ; UINT8 numOfTrch ; BYTE pad [ 2 ] ; UINT8 *tfcsTable ; } tfcs_ts; typedef UINT8 signalledFactors_te ; //ICAT EXPORTED ENUM enum signalledFactors_values { SIGNALLED = 0x00 , REF_AND_SIGNALLED = 0x01 , REFERENCE = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { signalledFactors_te signalledFactors ; UINT8 betaC ; UINT8 betaD ; UINT8 refId ; INT8 deltaPpm ; BYTE pad [ 3 ] ; } powerOffsetParams_ts; typedef UINT8 typeOfChCoding_te ; //ICAT EXPORTED ENUM enum typeOfChCoding_values { CONVOLUTIONAL_CODING = 0x00 , TURBO_CODING = 0x01 , NO_CODING = 0x02 }; typedef UINT8 codingRate_te ; //ICAT EXPORTED ENUM enum codingRate_values { CODING_RATE_HALF = 0x00 , CODING_RATE_ONE_THIRD = 0x01 }; typedef UINT8 crcSize_te ; //ICAT EXPORTED ENUM enum crcSize_values { NO_CRC = 0x00 , CRC_SIZE_8 = 0x01 , CRC_SIZE_12 = 0x02 , CRC_SIZE_16 = 0x03 , CRC_SIZE_24 = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { tti_te trChTti ; typeOfChCoding_te typeOFChannelCoding ; codingRate_te codingRate ; BYTE pad ; UINT16 rateMatchingAttribute ; crcSize_te crcSize ; INT8 dchBlerQualTarget ; } trChSemiStatic_ts; typedef UINT8 rachMsgLength_te ; //ICAT EXPORTED ENUM enum rachMsgLength_values { RACH_MSG_LENGTH_10_MS = 10 , RACH_MSG_LENGTH_20_MS = 20 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 transportBlockSize ; UINT8 numOfTransportBlocks ; rachMsgLength_te rachMsgLength ; } trChDynamic_ts; typedef UINT8 trChActionType_te ; //ICAT EXPORTED ENUM enum trChActionType_values { TRCH_ADD = 0x01 , TRCH_ACTION_RESERVED1 = 0x02 , TRCH_ACTION_RESERVED2 = 0x03 }; typedef UINT8 reconfFlag_te ; //ICAT EXPORTED ENUM enum reconfFlag_values { TRCH_NO_RECONFIG = 0x00 , RECONFIG_WO_SYNC_PROC_A = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; Bool reportFlag ; trChActionType_te actionType ; UINT8 numOfDynamic ; BYTE pad [ 3 ] ; trChDynamic_ts dynamicPart [ 64 ] ; trChSemiStatic_ts semiStaticPart ; } trChDescription_ts; //ICAT EXPORTED STRUCT typedef struct { tfcs_ts dlTfcs ; tfcs_ts ulTfcs ; powerOffsetParams_ts *powerOffTab ; UINT8 numOfTrch ; reconfFlag_te reconfInd ; BYTE pad [ 2 ] ; trChDescription_ts *trCh [ 16 ] ; Bool trchCfgExistence ; BYTE pad2 [ 3 ] ; } trchConfigDescription_ts; typedef UINT8 phyChType_te ; //ICAT EXPORTED ENUM enum phyChType_values { PHY_CH_P_CCPCH = 0x00 , // Must be the first PHY_CH_S_CCPCH = 0x01 , PHY_CH_AICH_PRACH = 0x02 , PHY_CH_PICH_S_CCPCH = 0x03 , PHY_CH_CBS_S_CCPCH = 0x04 , PHY_CH_DPCH = 0x05 , PHY_CH_ALL = 0x08 , PHY_CH_NONE = 0x0F }; typedef UINT8 fixFlexPosition_te ; //ICAT EXPORTED ENUM enum fixFlexPosition_values { FFP_FIXED = 0x00 , FFP_FLEXIBLE = 0x01 }; typedef UINT8 pccpchMode_te ; //ICAT EXPORTED ENUM enum pccpchMode_values { RESERVED_PCCPCH_MODE = 0x00 , SERVING_CELL_WOUT_SFN_UPDATE = 0x01 , SERVING_CELL_W_SFN_UPDATE = 0x02 , MONITORING_NEIGHBOR_CELL = 0x03 , MONITORING_FOR_BETTER_PLMN_SEARCH = 0x04 , MONITORING_LOW_PRIOPRITY_INDCH = 0x05 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; pccpchMode_te pccpchMode ; BYTE pad1 ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; sttdInd_te sttdInd ; BYTE pad2 ; UINT16 dlPriScramblingCode ; BYTE pad3 [ 2 ] ; } pccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; sttdInd_te sttdInd ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 chanCodeNum ; Bool pilotSymbolExistence ; Bool tfciExistence ; fixFlexPosition_te fixFlexPosition ; UINT16 timingOffset ; } sccpchPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; BYTE pad [ 3 ] ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } sccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 fachMeasurementCycle ; UINT16 fachMeasOccasionCrnti ; tti_te maxTti ; BYTE pad [ 3 ] ; } fachOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cbsFrameOffset ; BYTE pad1 ; UINT16 cbsOccasionPeriod ; UINT16 cbsSmOccasionPeriod ; UINT16 pad2 ; } ctchOccasionInfo_ts; //ICAT EXPORTED STRUCT typedef struct { sccpchPhyParams_ts sccpchPhyParams ; ctchOccasionInfo_ts ctchOccasionInfo ; trchConfigDescription_ts trchDescription ; } sccpchCbsDescription_ts; typedef UINT8 cbsL2ActionType_te ; //ICAT EXPORTED ENUM enum plCbsL2ActionTyp_values { CBS_L2_ACTION_TYPE_STOP = 0x00 , CBS_L2_ACTION_TYPE_START = 0x01 , CBS_L2_ACTION_TYPE_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 periodId ; UINT8 pad [ 3 ] ; UINT8 rxPeriodOffset [ 256 ] ; UINT16 numOfRxPeriods ; UINT16 NumOfBSInSchedulingPeriod ; UINT16 referenceSfn ; UINT16 NextPeriodOffset ; } cbsLevel2Scheduling_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 drxCycleLengthCoeff ; UINT8 drxCycleLengthCoeff2 ; BYTE pad [ 3 ] ; UINT8 pagingInd ; UINT16 pagingOccasion ; UINT16 pagingOccasion2 ; // CQ52043 } pagingInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; INT8 pichPowerOff ; UINT8 numOfPiPerFrame ; BYTE pad [ 2 ] ; pagingInfo_ts pagingInfo ; } pichPhyParams_ts; typedef UINT8 rrcStateIndicator_te ; //ICAT EXPORTED ENUM enum rrcStateIndicator_values { RRC_IDLE = 0x00 , CELL_PCH = 0x01 , URA_PCH = 0x02 , CELL_FACH = 0x03 , CELL_DCH = 0x04 }; //ICAT EXPORTED STRUCT typedef struct { pichPhyParams_ts pichPhyParams ; sccpchPhyParams_ts sccpchPhyParams ; trchConfigDescription_ts trchDescription ; } pichAndSccpchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT16 spreadingFactor ; UINT8 puncturingLimit ; INT16 txInitPower ; UINT8 powerRampStep ; UINT8 preambMaxRetransNum ; UINT8 numOfAsc ; UINT16 availableSignature [ 8 ] ; UINT16 availableSubChannelNum [ 8 ] ; INT8 maxUlTxPower ; UINT16 pad1 ; UINT8 pad [ 3 ] ; } prachPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 scramblingCode ; UINT8 channelizationCode ; sttdInd_te sttdInd ; UINT8 aichTxTiming ; INT8 aichPowerOffset ; BYTE pad [ 2 ] ; Bool pad2 ; UINT8 pad3 [ 3 ] ; } aichPhyParams_ts; //ICAT EXPORTED STRUCT typedef struct { prachPhyParams_ts prachPhyParams ; aichPhyParams_ts aichPhyParams ; trchConfigDescription_ts trchDescription ; UINT8 pad2 ; UINT8 pad3 [ 3 ] ; } prachAichDescription_ts; typedef UINT8 ssdtCodeWordSet_te ; //ICAT EXPORTED ENUM enum ssdtCodeWordSet_values { SSDT_LONG = 0x00 , SSDT_MEDIUM = 0x01 , SSDT_SHORT = 0x02 , SSDT_OFF = 0x03 }; typedef UINT8 ssdtCellIdentity_te ; //ICAT EXPORTED ENUM enum ssdtCellIdentity_values { SSDT_CELL_ID_LABEL_A = 0x00 , SSDT_CELL_ID_LABEL_B = 0x01 , SSDT_CELL_ID_LABEL_C = 0x02 , SSDT_CELL_ID_LABEL_D = 0x03 , SSDT_CELL_ID_LABEL_E = 0x04 , SSDT_CELL_ID_LABEL_F = 0x05 , SSDT_CELL_ID_LABEL_G = 0x06 , SSDT_CELL_ID_LABEL_H = 0x07 , SSDT_OMITTED = 0x08 }; typedef UINT8 txDiversityMode_te ; //ICAT EXPORTED ENUM enum txDiversityMode_values { TX_DM_NO_DIVERSITY = 0x00 , TX_DM_STTD = 0x01 , TX_DM_CLOSED_LOOP_MODE1 = 0x02 , TX_DM_CLOSED_LOOP_MODE_2 = 0x03 , TX_DM_INVALID_DIVERSITY = 0xff }; typedef UINT8 pcAlgorithm_te ; //ICAT EXPORTED ENUM enum plAlgorithm_values { PCA_ALGORITHM_1 = 0x00 , PCA_ALGORITHM_2 = 0x01 }; typedef UINT8 dpchTimingInd_te ; //ICAT EXPORTED ENUM enum dpchTimingInd_values { TI_INITIALIZE = 0x00 , TI_MAINTAIN = 0x01 , TI_DPCH_ESTABLISHMENT = 0x02 , TI_SHO = 0x03 , TI_RECONFIGURATION = 0x04 , TI_INTER_RAT_HHO = 0x05 , TI_3G_HHO_FAILURE = 0x06 , TI_DPCH_EST_DIFF_CELL = 0x07 , TI_RECONFIGURATION_FAILURE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { INT8 maxUlTxPower ; BYTE pad1 ; INT16 dpcchPowerOffset ; UINT8 pcPreambles ; UINT8 pcAlgorithm ; UINT8 tpcStepSize ; BYTE pad2 ; } dpchUlPowerControl_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; // min SF used in DCH 25.331000 10.300000 .6.88 Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchUlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpchDlChanCode ; Bool alternateScrCode ; UINT16 dpchDlScrCode ; } dpchMultiCode_ts; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; BYTE pad1 ; UINT16 rlId ; UINT16 phaseRefScrCode ; UINT8 phaseRefChanCode ; BYTE pad2 ; UINT16 dpchFrameOffset ; UINT8 numOfDlChanCodes ; UINT8 pad4 ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; UINT8 tpcCombinationIndex ; // RLs with same index have same TPC and E-HICH value , range [ 0 , 5 ] . Among these RLs , TPC or HICH can be combined ssdtCellIdentity_te ssdtCellIdentity ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; // always false BYTE pad5 ; Bool usedForPdsch ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 // FDPCH symbol index 0 ~9 fdpchSymbIdx = fdpchSlotFormat == 9 ? 0 : fdpchSlotFormat + 1 ; } dpchDlRlParams_ts; //ICAT EXPORTED STRUCT typedef struct { dpchTimingInd_te timingInd ; UINT8 dpcMode ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; Bool postVerificationPeriod ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 Bool TimingMaintainedSynchronizationIndicator ; UINT32 defaultDPCHOffsetValue ; } dpchCommonDlParams_ts; typedef UINT8 plwPhyChConfigValidity_te ; //ICAT EXPORTED ENUM enum plwPhyChConfigValidity_values { PLW_DPCH_DATA_EXISTENCE_BIT = 0x01 , PLW_HSDPA_DATA_EXISTENCE_BIT = 0x02 , PLW_HSUPA_DATA_EXISTENCE_BIT = 0x04 , PLW_CPC_DATA_EXISTENCE_BIT = 0x08 }; typedef UINT8 edchActionType_te ; //ICAT EXPORTED ENUM enum edchActionType_values { SETUP_EDCH , RECONFIGURATION , ACTIVE_SET_UPDATE }; //ICAT EXPORTED STRUCT typedef struct { UINT8 referenceEtfci ; UINT8 referenceEtfciPowerOffset ; UINT8 pad [ 2 ] ; } referenceEtfci_ts; typedef UINT8 harqRvConfiguration_te ; //ICAT EXPORTED ENUM enum harqRvConfiguration_values { RV0 , RVTABLE }; typedef UINT8 maxChanCodes_te ; //ICAT EXPORTED ENUM enum maxChanCodes_values { SF256 , SF128 , SF64 , SF32 , SF16 , SF8 , SF4 , TWO_SF4 , TWO_SF2 , TWO_SF2_AND_TWO_SF4 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 etfciBoost ; UINT8 deltaT2TP ; UINT8 pad [ 2 ] ; } etfcBoostInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfRefEtfci ; referenceEtfci_ts referenceEtfci [ 8 ] ; UINT8 pad [ 1 ] ; Bool etfciTableIndex ; UINT8 macdFlowPowerOffsets ; harqRvConfiguration_te harqRvConfig ; maxChanCodes_te maximumChannelisationCodes ; UINT8 plNonMax ; UINT8 edpcchDpcchPowerOffset ; etfcBoostInfo_ts etfcBoostInfo ; Bool edpdchPowerInterpolation ; UINT8 pad2 [ 2 ] ; Bool is16QAMConfigured ; UINT8 pad3 [ 3 ] ; } edchUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 3 ] ; UINT8 agchChannelisationCode ; } agchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 channelisationCode ; UINT8 signatureSequence ; } hichParameters_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pad [ 2 ] ; UINT8 signatureSequence ; UINT8 combinationIndex ; } rgchParameters_ts; //ICAT EXPORTED STRUCT typedef struct { Bool servingRadioLinkIndicator ; UINT8 tpcCombinationIndex ; UINT16 dlScramblingCode ; hichParameters_ts hich ; UINT8 pad [ 3 ] ; Bool rgchActivatedOnThisRl ; rgchParameters_ts rgch ; txDiversityMode_te txDiversityMode ; UINT16 dpchFrameOffset ; } edchDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; UINT8 pad1 [ 3 ] ; edchActionType_te edchActionType ; edchUlParams_ts edchUlRlParams ; agchParameters_ts agch ; UINT8 pad2 [ 1 ] ; UINT8 numOfDpdch ; UINT8 ttiSize ; UINT8 numOfDlRl ; edchDlParams_ts edchDlRlParams [ 4 ] ; UINT16 erntiPrimary ; UINT16 erntiSecondary ; } edchDescription_ts; typedef UINT8 OutOfSyncCause_te ; //ICAT EXPORTED ENUM enum OutOfSyncCause_values { /** OutOfSync because of failure to establish physical channels. */ PLW_PHYS_CHAN_ESTABLISH_FAILURE = 0 , /** OutOfSync because of Radio Link failure. */ PLW_RADIO_LINK_FAILURE = 1 }; //ICAT EXPORTED STRUCT typedef struct { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Constant used in determining a Radio Link failure. */ UINT8 n_313 ; /** Constant used in determining a Radio Link failure. */ INT16 n_315 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; /** Timer used in determining a Radio Link failure. */ INT8 t_313 ; BYTE pad ; } SyncParameters_ts; //ICAT EXPORTED STRUCT typedef struct SyncParametersConnectedTag { /** Constant used in CELL_DCH channel establishment. */ INT16 n_312 ; /** Timer used in CELL_DCH channel establishment. */ INT8 t_312 ; BYTE pad ; } SyncParamsConnected_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; tti_te maxTtiOverThePhyCh ; Bool enableLegacySyncInd ; UINT16 dlUarfcn ; UINT16 ulUarfcn ; BYTE pad2 [ 2 ] ; dpchCommonDlParams_ts dpchDlCommonParams ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad3 [ 2 ] ; dpchDlRlParams_ts dpchDlRlParams [ 12 ] ; dpchUlRlParams_ts dpchUlRlParams ; UINT8 pad4 [ 2 ] ; Bool fdpchEnabled ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParameters_ts SyncParams ; SyncParamsConnected_ts SyncParamsConnected ; UINT8 pad6 [ 4 ] ; trchConfigDescription_ts trchDescription ; } dpchDescription_ts; typedef UINT8 phyChReleaseReason_te ; //ICAT EXPORTED ENUM enum phyChReleaseReason_values { CH_RR_INTER_FR_HHO = 0x00 , CH_RR_INTRA_FR_HHO = 0x01 , CH_RR_INTER_RAT_HHO = 0x02 , CH_RR_INTER_FR_RESELECT = 0x03 , CH_RR_INTRA_FR_RESELECT = 0x04 , CH_RR_NORMAL = 0x05 , CH_RR_RESERVED = 0x06 , CH_RR_INTER_RAT_RESELECTION = 0x07 , CH_RR_HSDSCH_SERVING_CELL_CHANGE = 0x08 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; phyChType_te phyChType ; phyChReleaseReason_te releaseReason ; plwPhyChConfigValidity_te phyChConfigValidity ; BYTE padding ; } rlReleaseDescription_ts; //ICAT EXPORTED STRUCT typedef struct { dpchUlPowerControl_ts dpchUlPowerControl ; UINT32 dpchUlScrCode ; UINT16 ulSpreadingFactor ; Bool tfciExist ; UINT8 numOfFbiBits ; UINT8 puncturingLimit ; UINT8 numOfDpdch ; UINT8 numOfTpcBits ; BYTE pad ; } dpchModifyUlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rlID ; UINT16 phaseRefScrCode ; UINT8 numOfDlChanCodes ; UINT8 phaseRefChanCode ; UINT16 dpchFrameOffset ; UINT8 tpcCombinationIndex ; ssdtCellIdentity_te ssdtCellIdentity ; dpchMultiCode_ts dpchMultiCode [ 3 ] ; txDiversityMode_te txDiversityMode ; Bool tfci2TransmitInd ; UINT8 closedLoopTimingAdjMode ; UINT8 fdpchSlotFormat ; // should always be 0 for RELEASE 6 } dpchModifyDlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dpcMode ; BYTE pad1 ; UINT16 spreadingFactor ; UINT8 numOfPilotBits ; fixFlexPosition_te fixFlexPosition ; Bool tfciExist ; UINT8 sField ; ssdtCodeWordSet_te ssdtCodeWordSet ; UINT8 powerOffsetPpilotDpdch ; UINT8 tpcCommandErrRateTarget ; // ( 1 ..10 ) Real Range: 0.010000 ..0.1 by steps of 0.010000 UINT8 pad3 [ 1 ] ; } dpchModifyCommonDlParams_ts; typedef UINT8 dpchModifyControl_te ; //ICAT EXPORTED ENUM enum dpchModifyControl_values { DL_DPCH_MODIFY = 0x00 , UL_DPCH_MODIFY = 0x01 , UL_AND_DL_DPCH_MODIFY = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; dpchModifyCommonDlParams_ts dpchCommonParams ; dpchModifyControl_te dpchModifyControl ; UINT8 numOfRL ; Bool onlyOneCsRb ; // CQ96577 BYTE pad1 [ 1 ] ; dpchModifyDlParams_ts dpchDlParams [ 6 ] ; dpchModifyUlParams_ts dpchUlParams ; Bool fdpchEnabled ; UINT8 pad2 [ 2 ] ; plwPhyChConfigValidity_te phyChConfigValidity ; SyncParamsConnected_ts SyncParamsConnected ; trchConfigDescription_ts trchDescription ; } dpchModifyDescription_ts; typedef UINT8 statusInd_te ; //ICAT EXPORTED ENUM enum statusInd_values { L1_IND_SUCCESS = 0x00 , L1_IND_FAILURE = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; statusInd_te statusInd ; BYTE pad [ 2 ] ; INT16 cpichEcNo ; INT16 cpichRscp ; } rlSetupCnf_ts; //ICAT EXPORTED STRUCT typedef struct { phyChType_te phyChType ; BYTE pad [ 3 ] ; } rlReleaseCnf_ts; typedef UINT8 randomAccessStatus_te ; //ICAT EXPORTED ENUM enum randomAccessStatus_values { ACK = 0x00 , NO_ACK = 0x01 , NACK = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 cfn ; Bool readyToSend ; INT16 powerLeft [ 15 ] ; // change from INT8 // BYTE pad [ 3 ] ; } plUlDataSync_ts; //ICAT EXPORTED STRUCT typedef struct { // TRCH ID 1 ..32 UINT8 trchId ; // TFI 1 ..64 UINT8 tfi ; UINT8 pad [ 2 ] ; } ulPduDataInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // give the start address of UL data block in this TTI to allow L1 get the data by DMA way UINT32 ulDataStartAddr ; // TFCI value 0 ..64 UINT8 tfciValue ; // TRCH type: DCH or RACH trChType_te trChType ; UINT8 pad ; // number of TRCH 0 ..8 UINT8 trchNum ; // TRCH data info , only the items indicated by trchNum are available ulPduDataInfo_ts trchDataInfo [ 8 ] ; } plDataReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 tbAddr ; UINT8 trChId ; trChType_te trChType ; UINT16 frameNum ; // UINT16 dataSize ; UINT8 transpFormatId ; BYTE pad [ 3 ] ; UINT32 crcCheckResult ; } plDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { // The address of each Mac-hs / ehs PDU UINT32 dataBlockStartAddr ; // the bit length of Mac-hs or Mac-ehs PDU size UINT16 bitlength ; // Used for Umahs to align Mac-d data part to 8 bits , Always set to 0 in Mac-ehs , Range 0 ..7 UINT8 byteAlignOffset ; // Flag to indicate this PDU is PCH or BCH as LogCH Id equal to 15 , 1 : BCH , 0 PCH UINT8 hrntiReceivedInd ; // transmission numbers UINT8 numOfTransmission ; // TB received from primary cell or secondary cell: 0 : primary cell , 1 : secondary cell. UINT8 receivedFromCell ; UINT16 reserved ; } HsTbInfo_ts; //ICAT EXPORTED STRUCT typedef struct { // index of the subframe or frame whose data is ready for reading UINT16 sfn ; // subframe sequence number UINT8 subframe ; // Indicate if this PDU is Mac-hs or Mac-ehs type , 0 : Mac-hs , 1 : Mac-ehs UINT8 macType ; UINT8 reserved [ 3 ] ; // max 2 block per TTI UINT8 dataBlockNum ; HsTbInfo_ts HsTbInfo [ 2 ] ; } plHsDataIndHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dpaDataAddrArray [ 24 ] ; } plHsPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlockAlloc ; UINT8 reserved [ 3 ] ; UINT32 dlDataAddrArray [ 8 ] ; } plDlPointerReqHeader_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 trChId ; trChType_te trChType ; BYTE pad [ 2 ] ; } dataTransferEnd_ts; typedef UINT8 dlFrameType_te ; //ICAT EXPORTED ENUM typedef enum { TYPE_A = 0x00 , TYPE_B = 0x01 , CM_DL_FRAME_TYPE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } dlFrameType_values; typedef UINT8 CompModeMethod_te ; //ICAT EXPORTED ENUM typedef enum { PUNCTURING = 0x00 , // Used only in DL SF_BY_TWO = 0x01 , HIGHER_LAYER_SCHEDULING = 0x02 , CM_METHOD_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } CompModeMethod_values; typedef UINT8 ulDlMode_te ; //ICAT EXPORTED ENUM typedef enum { DL_ONLY = 0x00 , UL_ONLY = 0x01 , DL_AND_UL = 0x02 , CM_UL_DL_MODE_MAX_VAL = 0x02 // must be EQUAL to the highest value in enum! } ulDlMode_values; typedef UINT8 itpMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_ITP_MODE_0 = 0x00 , L1_ITP_MODE_1 = 0x01 , CM_ITP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } itpMode_values; typedef UINT8 rppMode_te ; //ICAT EXPORTED ENUM typedef enum { L1_RPP_MODE_0 = 0x00 , L1_RPP_MODE_1 = 0x01 , CM_RPP_MODE_MAX_VAL = 0x01 // must be EQUAL to the highest value in enum! } rppMode_values; typedef UINT8 l1Tgmp_te ; //ICAT EXPORTED ENUM enum l1Tgmp_values { RESERVED2 = 0x00 , FDD_MEAS = 0x01 , GSM_CARRIER_RSSI_MEAS = 0x02 , GSM_INIT_BSIC_IDENTIFICATION = 0x03 , GSM_BSIC_RECONFIRM = 0x04 , E_UTRA_MEAS = 0x05 , CM_PS_TGMP_MAX_VAL = 0x06 }; typedef UINT8 tgpsStatusFlag_te ; //ICAT EXPORTED ENUM enum tgpsStatusFlag_values { TGPS_ACTIVE , TGPS_INACTIVE , TGPS_MODIFY , TGPS_CONTINUE , CM_PS_TGPS_STATUS_MAX_VAL = TGPS_CONTINUE // must be EQUAL to the highest value in enum! }; //ICAT EXPORTED STRUCT typedef struct { l1Tgmp_te l1Tgmp ; BYTE pad1 ; UINT16 l1Tgprc ; UINT8 l1Tgsn ; UINT8 l1Tgl1 ; UINT8 l1Tgl2 ; BYTE pad2 ; UINT16 l1Tgd ; UINT8 l1Tgpl1 ; UINT8 l1Tgpl2 ; rppMode_te l1Rpp ; itpMode_te l1Itp ; ulDlMode_te l1UIDI ; CompModeMethod_te dlCompModeMethod ; CompModeMethod_te ulCompModeMethod ; dlFrameType_te dlFrameType ; UINT8 deltaSir1 ; UINT8 deltaSirafter1 ; UINT8 deltaSir2 ; UINT8 deltaSirafter2 ; UINT8 nldentifyAbort ; UINT8 tReconfirmAbort ; } tgpsConfig_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 tgpsIdentifier ; tgpsStatusFlag_te tgpsStatusFlag ; UINT8 I1Tgcfn ; BYTE pad ; activationTime_ts activationTime ; tgpsConfig_ts tgpsConfig ; } dpchTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTpgs ; BYTE pad [ 3 ] ; dpchTgpsParams_ts dpchTgpsParam [ 6 ] ; } dpchCompressModeParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfSlotGaps ; CompModeMethod_te compModeMethod ; BYTE pad [ 2 ] ; UINT16 CompressedSlotsBitmap ; } frameCmInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 collisionCfn ; UINT8 tgpsIdentifier ; l1Tgmp_te l1Tgmp ; BYTE pad ; } errTgpsParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; BYTE pad [ 3 ] ; errTgpsParams_ts errTgpsParams [ 4 ] ; } cmErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTgps ; UINT8 pad [ 3 ] ; UINT8 tgpsIdentifier [ 6 ] ; UINT8 lastCfnOfTgps [ 6 ] ; } cmPatternEndedInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFrames ; UINT8 FirstCfn ; BYTE pad [ 2 ] ; frameCmInfo_ts frameCmInfo [ 8 ] ; } plTtiInfo_ts; //ICAT EXPORTED STRUCT typedef struct { activationTime_ts activationTime ; plActionType_te actionType ; UINT8 trChId ; trChType_te trChType ; } lbTrCh_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfTrCh ; UINT8 simID ; lbTrCh_ts lbTrCh [ 8 ] ; } lbMode2params_ts; //ICAT EXPORTED STRUCT typedef struct { statusInd_te restoreStatus ; phyChType_te restoredChannelType ; UINT16 dlUarfcn ; UINT16 dlPriScramblingCode ; INT16 cpichEcNo ; INT16 cpichRscp ; } restoreWcdmaCnf_ts; typedef UINT8 macType_te ; //ICAT EXPORTED ENUM enum macType_values { MAC_HS = 0x00 , MAC_EHS = 0x01 }; typedef UINT8 TrBkSizeTableIndex_te ; //ICAT EXPORTED ENUM enum TrBkSizeTableIndex_values { BIT_ALIGNED = 0x00 , OCTET_ALIGNED = 0x01 }; //ICAT EXPORTED STRUCT typedef struct { UINT8 transportBlockSizeIndex ; Bool hspdschSecondCodeSupport ; UINT8 pad [ 2 ] ; } transportBlockSizeList_ts; //ICAT EXPORTED ENUM typedef enum { ERR_IND_NO_REPORT = 0 , ERR_IND_CANT_COPY_RX_DATA , ERR_IND_INVALID_OOS_REQ , ERR_IND_INVALID_REQ_PARAMS , // received request with invalid parameters ERR_IND_INVALID_REQ_STATE , // received request at wrong state ERR_IND_INVALID_SET_CM_PARAMS , // in valid parameters received from the set Compressed Mode Command ERR_IND_NUM_OF_MEAS_FREQ_OVERFLOW , // in cases where the PS requests to measure to many frequencies ERR_IND_FATAL_ERROR , ERR_IND_LOW_PRIORITY_WARNING , ERR_INVALID_RAT_TERMINATION , ERR_WRONG_PLP_STATE , ERR_IND_INVALID_PHY_CH_SETUP_REQ , ERR_IND_INVALID_RL_RELEASE_REQ } plwErrInd_e; //ICAT EXPORTED STRUCT typedef struct { plActionType_te actionType ; UINT8 pad ; UINT16 T319 ; } t319Config_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; Bool dueToPch ; } resumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool flag ; } dsPagingFailureInd_ts; typedef UINT32 Earfcn ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } GsmCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmCell_ts cellInfo [ 32 ] ; } plwGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; Bool bsicInfoExist ; UINT8 expectedBsic ; UINT8 pad [ 2 ] ; } GsmBsicCell_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; GsmBsicCell_ts cellInfo [ 32 ] ; } plwGsmBsicCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plwGsmMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; UINT8 pad [ 2 ] ; plwGsmMultiArfcnList_ts list [ 40 ] ; } plwGsmMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 rxLev ; UINT8 clientBitmap ; } gsmRssiInfo; //ICAT EXPORTED STRUCT typedef struct { UINT8 numCells ; UINT8 pad [ 3 ] ; gsmRssiInfo rssiInfo [ 32 ] ; } plwGsmRssiMeasInd_ts; typedef UINT16 plwGsmBandMode_te ; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; } plwGsmArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { plwGsmArfcnList_ts arfcnList ; plwGsmBandMode_te bandMode ; } plwGsmRssiScanReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; INT16 rssi ; } allCellsMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; UINT8 pad ; UINT16 numMeasInAllCells ; UINT16 arfcn [ 40 ] ; plwGsmBandMode_te bandMode ; UINT8 level [ 40 ] ; allCellsMeas_ts allCellsMeas [ 128 *8 ] ; } plwGsmRssiScanInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; UINT16 arfcn ; Bool bandIndicator ; UINT8 clientBitmap ; } plwGsmBsicDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; UINT16 nCellBcchControl ; // if = 0 - means stop the bcch decoding } plwGsmBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plwGsmArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plwGsmArfcnInfo_ts arfcnList [ 40 ] ; } plwGsmMultiBcchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool gsmScoreReq ; /**< GSM Scores Request. When TRUE , the RSSI Scan procedure report GSM RSSI on all requested frequencys. */ Bool wbScoreReq ; /**< WB Scores Request. When TRUE , the RSSI Scan procedure report WB scores on all requested frequencys. */ UINT8 lteScoreReq ; /**< lteScoreReq [ 0 ] - When TRUE , scanning of LTE with BW = 1.400000 MHz is required. * If FALSE , scanning is not required. lteScoreReq [ 5 ] - When TRUE , scanning of LTE with BW = 20 MHz * is required. If FALSE , scanning is not required. */ UINT8 bandNum ; /**< Band number , as defined 36.101000 . * In " List Mode " it is per frequency. * In " Range Mode " only first entry is used for the entire range. */ UINT16 frequency ; /**< Frequency represented as 10 x Frequency in MHz. In " Range Mode " - first entry is the start * frequency in MHz and the second entry is the stop frequency in MHz. The start frequency represents * the first frequency for reporting its score in the narrowest scanned BW as requested by lteScoreReq * field. The stop frequency represents the first frequency for reporting it ' s score in the narrowest * scanned BW as requested by lteScoreReq field. * In " List Mode " - each entry represent the frequency in MHz to be search for */ } plwPlmsRssiScanFreqList_ts; //ICAT EXPORTED STRUCT typedef enum { PLW_PLMS_GSM_RAT_PLMS = 0 , PLW_PLMS_UMTS_RAT , PLW_PLMS_EUTRA_RAT , } plwPlmsRssiScanRat_te_enum; typedef UINT8 plwPlmsRssiScanRat_te ; //ICAT EXPORTED STRUCT typedef struct PlwLteResultsTableElementTag { UINT16 lteBestScore ; /*Best Score of the Earfcn*/ } PlwLteResultsTableElement_ts; //ICAT EXPORTED STRUCT typedef struct { plwPlmsRssiScanRat_te rat ; /* indicate which RAT request the RssiScanReq */ /*CQ00071284 */ Bool bgInd ; /*Indicates if the RSSI Scan is BG or FG operation.*/ Bool listIndication ; /**< frequency list indication. When TRUE , the frequencys that are need to be scanned are in given by * the list in earfcnList field. When FALSE , the frequencys to be scanned are indicated by startfrq * and endfrq fields. */ UINT8 pad1 ; UINT16 numOfFreqs ; /**< In " Range Mode " this number is always 2 . In " List Mode " the number represents the number of EARFCNs in the list. Maximum number of EARFCNs is 32 .*/ plwPlmsRssiScanFreqList_ts freqList [ 32 ] ; /** < In " Range Mode " - first entry is the start frequency in MHz and the second * entry is the stop frequency in MHz. In " List Mode " - each entry represent the frequency in MHz to be search for*/ PlwLteResultsTableElement_ts *lteResult_p ; /**< Lte Pointer to the results in the shared memory */ UINT16 *wbResult_p ; /**< WB Pointer to the results in the shared memory */ UINT16 *gsmResult_p ; /**< GSM Pointer to the results in the shared memory */ } plwPlmsRssiScanReq_ts; //ICAT EXPORTED ENUM typedef enum { PLW_PLMS_RSSI_SCAN_CNF_NO_ERRORS = 0 , PLW_PLMS_RSSI_SCAN_CNF_UL1_TIMER_EXPIRED , PLW_PLMS_RSSI_SCAN_CNF_INVALID_REQUEST_PARAMS , PLW_PLMS_RSSI_SCAN_CNF_INVALID_L1_CONFIGURATION , PLW_PLMS_RSSI_SCAN_CNF_AUTO_ABORT_BY_HOST_L1 , } plwRssiScanCnfCompleteStatus_te_enum; typedef UINT8 plwRssiScanCnfCompleteStatus_te ; //ICAT EXPORTED STRUCT typedef UINT8 plwPlmsRssiScanAbortCnf_ts ; // ICAT EXPORTED STRUCT typedef struct { plwRssiScanCnfCompleteStatus_te completeStatus ; /**< RSSI Scan completion status. When TRUE , the RSSI Scan completed successfully. When FASLE , the RSSI Scan failed */ UINT16 numOfEarfcns ; /**< Number of reported EARFCNs. */ UINT16 numOfUarfcns ; /**< Number of reported UARFCNs. */ UINT16 numOfArfcns ; /**< Number of reported ARFCNs. */ } plwPlmsRssiScanCnf_ts; typedef Earfcn LteARFCN ; typedef UINT8 IratGapOrderType_te ; //ICAT EXPORTED ENUM enum IratGapOrderType_values { LTE_NCELL_BCH = 0x00 , }; typedef UINT16 Lte_PhysicalCellIdentity ; //ICAT EXPORTED STRUCT typedef struct { Lte_PhysicalCellIdentity physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ UINT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ UINT16 rSRQ ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end } plwULteCellReport_ts; //ICAT EXPORTED STRUCT typedef struct { LteARFCN earfcn ; UINT16 numberOfCells ; // added by xqshi to test UINT8 padding [ 2 ] ; // Added by xqshi to test plwULteCellReport_ts detectCellResult [ 4 ] ; } plwULteFreqCellList_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates if the physical layer has detected one or more cells on the * requested frequency. */ Bool cellDetected ; UINT8 numOfFrequencies ; // added by xqshi to 32 bit align UINT8 padding [ 2 ] ; // Added by xqshi to 32 bit align plwULteFreqCellList_ts freqCellList [ 16 ] ; } plwCphyDrxFindLteCellCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ } EcphyUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ EcphyUtranCellParams_ts utraCellParams [ 32 ] ; /*LTE_MAX_FDD_UTRA_CELL_NUM is 32 */ } EcphyUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measSyncId ; UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports */ UINT8 highPriorityBitmap [ 2 ] ; EcphyUtranUarfcnParams_ts utraFddElement [ 16 ] ; /* LTE_MAX_FDD_UTRA_FREQ_NUM is 3 */ } plwEwiMonitorFddUtraCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; /* From RRC ASN definition: UEUTRA_MeasurementBandwidth * 0 - MeasurementBandwidth_mbw6 , * 1 - MeasurementBandwidth_mbw15 , * 2 - MeasurementBandwidth_mbw25 , * 3 - MeasurementBandwidth_mbw50 , * 4 - MeasurementBandwidth_mbw75 , * 5 - MeasurementBandwidth_mbw100 */ UINT8 measBandwidth ; UINT8 pad [ 3 ] ; } LteFreq_ts; //ICAT EXPORTED STRUCT typedef struct { /** Indicates uniquely the identifier of this measurement request and is * only an internal reference used by RRC to tie up measurement requests * with measurement reports. * This is NOT the same as the measurement identity that is used on the * air interface. */ UINT8 measurementIdentity ; /** Indicates a bit mask to define the RSCP measurement required * for the corresponding freqs. */ UINT8 Rsrp ; /** Indicates a bit mask to define the RSCQ measurement required * for the corresponding freqs. */ UINT8 Rsrq ; /** high Priority or not for the freq in bitmask Rsrp||Rsrq */ Bool isHighPrioLayers ; UINT8 numberOfFreqs ; UINT8 pad [ 3 ] ; LteFreq_ts lteFreq [ 8 ] ; } plwCphyMonitorLteCellReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 physicalCellIdentity ; /** 1 dB steps from 0 ( -141dBm ) to 97 ( -44 dBm ) . */ INT16 rSRP ; /** 1 / 2 dB steps from 0 ( -20dB ) to 34 ( -3 dB ) . */ INT16 rSRQ ; // added by xqshi to align UINT8 padding [ 2 ] ; // Added by xqshi to align } LteCellReport; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; // HTFENG_TBD Bool rSRPPresent ; Bool rSRQPresent ; UINT16 numberOfCells ; // Modified by xqshi to align 32 bit // UINT8 pad [ 2 ] ; // modified end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 measureIdentity ; // HTFENG_TBD UINT8 numberOfFreqs ; UINT8 pad [ 2 ] ; LteFreqReport lteFreqReport [ 8 ] ; } plwCphyMonitorLteCellInd_ts; //ICAT EXPORTED STRUCT typedef struct { Earfcn earfcn ; UINT16 numberOfCells ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteCellReport lteCellMeasdata [ 8 ] ; } LteFreqResultReport; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfFreqs ; UINT8 measType ; // Added by xqshi to align UINT8 padding [ 2 ] ; // Added end LteFreqResultReport LteFreqResultReport [ 8 ] ; } LteMeasPlmnResult_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 supportedRfBands ; // a bitmap of the supported RF bands UINT8 powerClass [ 16 ] ; // UE Power Class per Band UINT8 numOfBandCom ; UINT8 Reserved ; UINT8 bandComList [ 16 ] ; } l1WcdmaCapabilityReportInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 frame [ 23 ] ; UINT16 subChannel ; Bool crcCheckResult ; UINT8 bsic ; } plwGsmBcchDecodeInd_ts; typedef UINT8 GsmBcchDecodeErrCode_te ; //ICAT EXPORTED ENUM enum GsmBcchDecodeErrCode_values { GSM_BCCH_DECODE_FAILED = 0x00 , GSM_BCCH_SHORT_DRX_CYCLE = 0x01 , GSM_BCCH_REACHED_MAX_TRIALS = 0x02 }; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; GsmBcchDecodeErrCode_te errorCode ; } plwGsmBcchDecodeErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 ScramblingCode ; /* Primary scrambling code */ sttdInd_te sttdInd ; /* STTD indicator TS: 25.331000 : 10.300000 .6.78 */ } plgUtranCellParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 Uarfcn ; UINT16 numPrimaryScramblingCodes ; /* Max 32 . If numOfCells is 0 , only RSSI will be reported for each frequency in uarfcnList */ plgUtranCellParams_ts utraCellParams [ 32 ] ; /*MAX_REQ_FDD_CELLS is 32 */ } plgUtranUarfcnParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication ( 0 255 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array. If numOfUarfcn is 0 , L1 will stop measurements reports ( 0 3 ) */ Bool fddCellsHavePriority ; /* Not supported */ plgUtranUarfcnParams_ts utraFddElement [ 3 ] ; /* MAX_FDD_UARFCN is 3 */ } plgUtranCellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 dlUarfcnIndex ; /* Index to uarfcnList entry representing the downlink UARFCN i.e. index to the fddRxLev array 0 ..2*/ UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units. ( -1336 0 ) */ } plgUtranCellMeasIndParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; // ( 0 16383 ) RF channel number INT16 rssiInd ; // ( -1016 0 ) In 1 / 8 dBm units } plgUtranRxLev_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measurementId ; /* Integer that will be reported with the measurement indication. Zero is reserved for internal use. ( 0 255 ) */ UINT8 numOfCells ; /* Number of cells in utraCellParams array. ( 0 64 ) */ UINT8 numOfUarfcn ; /* Number of frequencies in uarfcnList array ( , 1 3 ) */ plgUtranRxLev_ts fddRxLev [ 3 ] ; /* MAX_FDD_UARFCN is 3 , See ?4.3.21.2 */ plgUtranCellMeasIndParams_ts fddCellMeas [ 64 ] ; /* MAX_MEAS_FDD_CELLS is 64 , See ?4.6.12.2 */ } plgUtranCellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfFreqs ; BYTE pad [ 3 ] ; plgUtranRxLev_ts freqList [ 32 ] ; } plgUtranRssiMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiScanReq_ts; typedef plgUtranRssiScanReq_ts UmphRssiScanReq ; typedef freqScanInd_ts plgUtranRssiScanInd_ts ; typedef plgUtranRssiScanInd_ts UmphRssiScanInd ; //ICAT EXPORTED STRUCT typedef struct { UINT8 startStopInd ; UINT8 actionType ; UINT8 numOfFreqs ; UINT8 freqScanMode ; Bool runInFastMode ; UINT8 pad [ 3 ] ; UINT16 freqList [ 32 ] ; } plgUtranRssiMeasReq_ts; typedef plgUtranRssiMeasReq_ts UmphRssiMeasReq ; typedef plgUtranRssiMeasInd_ts UmphRssiMeasInd ; typedef plgUtranCellMeasReq_ts UmphCellMeasReq ; typedef plgUtranCellMeasInd_ts UmphCellMeasInd ; typedef interFreqCellMeasInd_ts UmphDetectedCellMeasInd ; typedef plDetectedCellMeas_ts UmphDetectedCellMeasReq ; //ICAT EXPORTED ENUM enum { PLG_LC_BCCH , PLG_LC_CCCH , PLG_LC_SDCCH , PLG_LC_SACCH , PLG_LC_FULL_RATE_FACCH , PLG_LC_HALF_RATE_FACCH , PLG_LC_CBCH , PLG_LC_PCH , PLG_INVALID_LOGICAL_CHANNEL }; typedef UINT8 plgLogicalChannel_te ; //ICAT EXPORTED ENUM enum { PLG_L1_SUCCESS , // 0 PLG_L1_CANT_DECODE_BCCH , // 1 PLG_L1_INTERNAL_ERROR , // 2 PLG_L1_BCCH_DECODE_ERROR , // 3 PLG_L1_FREQ_NOT_IMPLEMENTED , // 4 PLG_L1_FREQ_NOT_IMPLEMENTED_ELAPSED , // 5 PLG_L1_TA_OUT_OF_RANGE , // 7 PLG_L1_NO_TIMING_INFORMATION , // 7 /* Development Only */ PLG_L1_CCCH_DECODE_ERROR , // 8 PLG_L1_SACCH_DECODE_ERROR , // 9 PLG_L1_SDCCH_DECODE_ERROR , // 10 PLG_L1_FACCH_DECODE_ERROR , // 11 PLG_L1_PCH_DECODE_ERROR , // 12 /* GPRS */ PLG_L1_PTCCHD_DECODE_ERROR , // 13 PLG_L1_PDTCH_DECODE_ERROR , // 14 PLG_L1_SBLOCK_START_ERROR , // 15 PLG_L1_NO_MORE_SBLOCK_BUFFS , // 16 PLG_L1_NO_SBLOCK_CHANNEL_INFO , // 17 PLG_L1_SBLOCK_BAD_FREQ_DEF , // 18 PLG_L1_CANT_DECODE_PBCCH , // 19 PLG_L1_PBCCH_DECODE_ERROR , // 20 PLG_L1_TBF_NO_SLOTS , // 21 PLG_L1_TBF_TOO_MANY_TX_SLOTS , // 22 PLG_L1_TBF_TOO_MANY_RX_SLOTS , // 23 PLG_L1_TBF_TOO_MANY_TOTAL_SLOTS , // 24 PLG_L1_TBF_TX_AND_RX_SLOTS_CLASH , // 25 PLG_L1_PCCCH_CONFIG_ERROR , // 26 PLG_L1_PCCCH_DECODE_ERROR , // 27 /* AMR */ PLG_L1_AMR_UNKNOWN , // 28 PLG_L1_AMR_RATSCCH_DECODE_ERROR , // 29 PLG_L1_AMR_BAD_THRESH_ORDER , // 30 PLG_L1_AMR_BAD_HYST_ORDER , // 31 PLG_L1_AMR_BAD_UNUSED_THRESH , // 32 PLG_L1_AMR_BAD_ACS_SIZE , // 33 PLG_L1_AMR_INVALID_HR_CODEC , // 34 PLG_L1_AMR_ICM_OUT_OF_RANGE , // 35 PLG_L1_AMR_NO_CONFIG , // 36 PLG_L1_AMR_ACK , // 37 PLG_L1_ILLEGAL_ALLOCATION , // 38 /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ PLG_L1_EGPRS_LOOPBACK_NOT_SUPPORTED , // 39 /* Dual mode */ PLG_L1_CANT_DECODE_SIB , // 40 /* Release 99 */ PLG_L1_FAILURE_TO_SYNC , // 41 PLG_L1_LAST_ERROR }; typedef UINT8 plgL1Error_te ; //ICAT EXPORTED ENUM enum { PLG_RESUME_PKT_OP = 0 , PLG_SUSPEND_PKT_OP = 1 }; typedef UINT8 plgPktOpCtrl_te ; //ICAT EXPORTED ENUM enum { PLG_GSM_BAND = 0 , PLG_DCS_BAND = 1 , PLG_PCS_BAND = 2 , PLG_EGSM_BAND = 3 , PLG_GSM_450_BAND = 4 , PLG_GSM_480_BAND = 5 , PLG_GSM_850_BAND = 6 , PLG_NUM_BANDS , PLG_INVALID_BAND = 0xFF }; typedef UINT8 plgBand_te ; //ICAT EXPORTED ENUM enum { PLG_PGSM_MODE = 0x01 , PLG_EGSM_MODE = ( 0x01 + 0x08 ) , PLG_DCS_MODE = 0x02 , PLG_PGSM_DCS_MODE = 0x01 + 0x02 , PLG_EGSM_DCS_MODE = ( 0x01 + 0x08 ) + 0x02 , PLG_PCS_MODE = 0x04 , PLG_PGSM_PCS_MODE = 0x01 + 0x04 , PLG_EGSM_PCS_MODE = ( 0x01 + 0x08 ) + 0x04 , PLG_PGSM_PCS_MODE_LOCK = 0x01 + 0x04 + 0x0200 , /* LOCK the MS to PGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM / PCS mode. Autoband DISABLED. For use in testing and 900 / 1900 countries only */ PLG_EGSM_DCS_MODE_LOCK = ( 0x01 + 0x08 ) + 0x02 + 0x0200 , /* LOCK the MS to EGSM / DCS mode. Autoband DISABLED. For use in testing and 900 / 1800 countries only */ PLG_DCS_MODE_LOCK = 0x02 + 0x0200 , /* LOCK the MS to DCS mode. Autoband DISABLED. For use in testing only */ PLG_PCS_MODE_LOCK = 0x04 + 0x0200 , /* LOCK the MS to PCS mode. Autoband DISABLED. For use in testing only */ PLG_EGSM_MODE_LOCK = ( 0x01 + 0x08 ) + 0x0200 , /* LOCK the MS to EGSM mode. Autoband DISABLED. For use in testing only */ /* Band mode for GSM850 support */ PLG_GSM850_MODE = 0x40 , PLG_GSM850_PCS_MODE = 0x40 + 0x04 , PLG_GSM850_GSM450_MODE = 0x40 + 0x10 , PLG_GSM850_GSM450_PCS_MODE = 0x40 + 0x10 + 0x04 , PLG_GSM850_GSM480_MODE = 0x40 + 0x20 , PLG_GSM850_GSM480_PCS_MODE = 0x40 + 0x20 + 0x04 , PLG_GSM850_GSM400_MODE = 0x40 + 0x10 + 0x20 , PLG_GSM850_GSM400_PCS_MODE = 0x40 + 0x10 + 0x20 + 0x04 , /* The extra band modes for GSM400 support. First , the GSM450 band */ PLG_PGSM450_MODE = 0x01 + 0x10 , PLG_EGSM450_MODE = ( 0x01 + 0x08 ) + 0x10 , PLG_PGSM450_DCS_MODE = 0x01 + 0x10 + 0x02 , PLG_EGSM450_DCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x02 , PLG_PGSM450_PCS_MODE = 0x01 + 0x10 + 0x04 , PLG_EGSM450_PCS_MODE = ( 0x01 + 0x08 ) + 0x10 + 0x04 , /* GSM480 band */ PLG_PGSM480_MODE = 0x01 + 0x20 , PLG_EGSM480_MODE = ( 0x01 + 0x08 ) + 0x20 , PLG_PGSM480_DCS_MODE = 0x01 + 0x20 + 0x02 , PLG_EGSM480_DCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x02 , PLG_PGSM480_PCS_MODE = 0x01 + 0x20 + 0x04 , PLG_EGSM480_PCS_MODE = ( 0x01 + 0x08 ) + 0x20 + 0x04 , /* GSM450 and GSM480 bands */ PLG_PGSM400_MODE = 0x01 + ( 0x10 + 0x20 ) , PLG_EGSM400_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) , PLG_PGSM400_DCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x02 , PLG_EGSM400_DCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x02 , PLG_PGSM400_PCS_MODE = 0x01 + ( 0x10 + 0x20 ) + 0x04 , PLG_EGSM400_PCS_MODE = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 , PLG_GSM850_MODE_LOCK = 0x40 + 0x0200 , /* LOCK the MS to GSM850 mode. Autoband DISABLED. For use in testing only */ PLG_GSM850_DCS_MODE_LOCK = 0x40 + 0x02 + 0x0200 , /* LOCK the MS to GSM850 / DCS1800 mode. Autoband DISABLED. For use in testing and 850 / 1800 countries only */ PLG_PGSM400_PCS_MODE_LOCK = 0x01 + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to GSM400 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_EGSM400_PCS_MODE_LOCK = ( 0x01 + 0x08 ) + ( 0x10 + 0x20 ) + 0x04 + 0x0200 , /* LOCK the MS to EGSM850 / PCS1900 mode. Autoband DISABLED. For use in testing and 400 / 1900 countries only */ PLG_RESET_BAND_MODE = 0 , PLG_INVALID_BAND_MODE = 0xffff }; typedef UINT16 plgBandMode_te ; //ICAT EXPORTED ENUM enum { PLG_PG_MODE_NORMAL , PLG_PG_MODE_EXTENDED , PLG_PG_MODE_REORGANISE , PLG_PG_SAME_AS_BEFORE , PLG_PG_MODE_NON_DRX , PLG_PG_MODE_NO_PCH , PLG_PG_INVALID }; typedef UINT8 plgPageMode_te ; //ICAT EXPORTED ENUM enum { PLG_BCH_CB_ENABLED , PLG_BCH_CB_DISABLED , PLG_BCH_CB_NOT_PRESENT }; typedef UINT8 plgCbchDataStatus_te ; //ICAT EXPORTED ENUM enum { PLG_TCH_F_PLUS_ACCH = 1 , PLG_TCH_H_PLUS_ACCH = 2 , PLG_SDCCH_4 = 4 , PLG_SDCCH_8 = 8 }; typedef UINT8 plgChannelType_te ; //ICAT EXPORTED ENUM enum { PLG_CB_OFF , PLG_CB_ON , PLG_CB_SKIP , PLG_CB_SKIP_N_SLOTS }; typedef UINT8 plgCbControl_te ; typedef UINT16 plgNcellPriority_te ; //ICAT EXPORTED ENUM enum { PLG_NCELL_LOW_PRIORITY , PLG_NCELL_HIGH_PRIORITY , PLG_NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ PLG_NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ PLG_NCELL_CANDIDATE_LOW_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_LOW_PRIORITY ) , PLG_NCELL_CANDIDATE_HIGH_PRIORITY = ( PLG_NCELL_CANDIDATE_PRIORITY + PLG_NCELL_HIGH_PRIORITY ) , PLG_LAST_NCELL_PRIORITY }; typedef UINT8 plgDeactivateReason_te ; //ICAT EXPORTED ENUM enum { PLG_L1_DEACT_NORMAL = 0 , /*equivalent to PLG_2G_OOS*/ PLG_L1_DEACT_POWER_OFF = 1 , /*equivalent to PLG_MODE_CHANGE_PENDING*/ PLG_2G_TERMINATE = 2 , PLG_DEACTIVE_INTERNAL = 3 , PLG_DEACTIVE_INIT = 4 , PLG_2G_OOS = PLG_L1_DEACT_NORMAL , PLG_MODE_CHANGE_PENDING = PLG_L1_DEACT_POWER_OFF }; typedef UINT8 plgL1DeactivationCause_te ; //ICAT EXPORTED ENUM enum { PLG_CHM_SIGNALLING = 0x00 , PLG_CHM_SPEECH_FULL_RATE = 0x01 , PLG_CHM_SPEECH_FULL_RATE_VER2 = 0x21 , PLG_CHM_SPEECH_FULL_RATE_VER3 = 0x41 , // #if defined ( UPGRADE_WB_AMR ) PLG_CHM_SPEECH_FULL_RATE_VER5 = 0x82 , // #endif PLG_CHM_SPEECH_HALF_RATE = 0x05 , PLG_CHM_SPEECH_HALF_RATE_VER2 = 0x25 , PLG_CHM_SPEECH_HALF_RATE_VER3 = 0x45 , PLG_CHM_DATA_14400 = 0x0f , PLG_CHM_DATA_9600 = 0x03 , PLG_CHM_DATA_4800_FULL = 0x0B , PLG_CHM_DATA_2400_FULL = 0x13 , PLG_CHM_DATA_4800_HALF = 0x02 , PLG_CHM_DATA_2400_HALF = 0x17 }; typedef UINT8 plgChannelMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALGORITHM_A5_1 , PLG_ALGORITHM_A5_2 , PLG_ALGORITHM_A5_3 , PLG_ALGORITHM_A5_4 , PLG_ALGORITHM_A5_5 , PLG_ALGORITHM_A5_6 , PLG_ALGORITHM_A5_7 }; typedef UINT8 plgCipherAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_NON_SYNCHRONISED , PLG_SYNCHRONISED , PLG_PRE_SYNCHRONISED , PLG_PSEUDO_SYNCHRONISED }; typedef UINT8 plgSynchronisation_te ; //ICAT EXPORTED ENUM enum { PLG_PSI_1_ONLY , PLG_PSI_ALL , PLG_PSI_STOP_DECODING }; typedef UINT8 plgPsiDecodeRequest_te ; //ICAT EXPORTED ENUM enum { PLG_CS_PAGING_NOT_REQUIRED , PLG_CS_PAGING_HIGH_PRIORITY , PLG_CS_PAGING_LOW_PRIORITY /* PLG_CS_PAGING_HIGH_PRIORITY & PLG_CS_PAGING_LOW_PRIORITY are used when the MS is required to monitor CS paging in addition to Packet Paging in Packet Idle Mode ( Network Operation Mode III ) . In this case , the priority defines which channel should be monitored when paging block occurrences in the two channels clash.*/ }; typedef UINT8 plgCsPagingOptions_te ; //ICAT EXPORTED ENUM enum { PLG_PRACH_BURST_11 , PLG_PRACH_BURST_8 }; typedef UINT8 plgPrachBurstType_te ; //ICAT EXPORTED ENUM enum { PLG_L1_POWER_REDUCTION_MODE_A = 0x00 , PLG_L1_POWER_REDUCTION_MODE_B = 0x01 }; typedef UINT8 plgL1PowerReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_CS_1 = 0 , PLG_CS_2 = 1 , PLG_CS_3 = 2 , PLG_CS_4 = 3 , PLG_CS_RACH_8 = 4 , PLG_CS_RACH_11 = 5 , PLG_MCS_1 = 6 , PLG_MCS_2 = 7 , PLG_MCS_3 = 8 , PLG_MCS_4 = 9 , PLG_MCS_5 = 10 , PLG_MCS_6 = 11 , PLG_MCS_7 = 12 , PLG_MCS_8 = 13 , PLG_MCS_9 = 14 , PLG_MCS_5_7 = 15 , PLG_MCS_6_9 = 16 , PLG_NUM_CODING_SCHEMES , PLG_INVALID_CODING_SCHEME = 0xFF }; typedef UINT8 plgCodingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_PS_1 = 0 , PLG_PS_2 , PLG_PS_3 , PLG_NUM_EGPRS_PUNCTURING_SCHEMES , PLG_INVALID_PUNCTURING_SCHEME = 0xFF }; typedef UINT8 plgPuncturingScheme_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_HEADER_TYPE_1 , PLG_MAC_HEADER_TYPE_2 , PLG_MAC_HEADER_TYPE_3 }; typedef UINT8 plgEgprsMacHeaderType_te ; typedef UINT8 plgBepLinkQualMeasStatus_te ; //ICAT EXPORTED ENUM enum { PLG_L1_MAC_PR_MODE_NONE , PLG_L1_MAC_PR_MODE_A , PLG_L1_MAC_PR_MODE_B }; typedef UINT8 plgL1MacPwrReductionMode_te ; //ICAT EXPORTED ENUM enum { PLG_ALLOC_BITMAP_BLOCKS = 0x00 , PLG_ALLOC_BITMAP_BLOCK_PERIODS = 0x01 }; typedef UINT8 plgFixedAllocBitmapFormat_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_WITH_SCELL_INT , PLG_NET_CTRL_NO_SCELL_INT , PLG_NET_CTRL_NOT_REQUIRED }; typedef UINT8 plgNetCtrlRequest_te ; //ICAT EXPORTED ENUM enum { PLG_NET_CTRL_PERIOD_1 , /* 0.480000 sec */ PLG_NET_CTRL_PERIOD_2 , /* 0.960000 sec */ PLG_NET_CTRL_PERIOD_3 , /* 1.920000 sec */ PLG_NET_CTRL_PERIOD_4 , /* 3.840000 sec */ /* default value for NC_REPORTING_PERIOD_T */ PLG_NET_CTRL_PERIOD_5 , /* 7.680000 sec */ PLG_NET_CTRL_PERIOD_6 , /* 15.360000 sec */ PLG_NET_CTRL_PERIOD_7 , /* 30.720000 sec */ PLG_NET_CTRL_PERIOD_8 /* 61.440000 sec */ /* default value for NC_REPORTING_PERIOD_I */ }; typedef UINT8 plgNetCtrlReportPeriod_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_MS_TO_SGSN = 0 , PLG_GPRS_CIPHER_SGSN_TO_MS = 1 }; typedef UINT8 plgCipheringDirection_te ; //ICAT EXPORTED ENUM enum { PLG_PDCH_IS_GPRS = 0 , PLG_PDCH_IS_EDGE_GPRS = 1 }; typedef UINT8 plgPdchStructure_te ; //ICAT EXPORTED ENUM enum { PLG_NO_LINK_QUAL_MEASUREMENTS = 0 , PLG_LINK_QUAL_INT_MEAS_ONLY = 1 , PLG_LINK_QUAL_BEP_MEAS_ONLY = 2 , PLG_LINK_QUAL_INT_AND_BEP_MEAS = 3 , PLG_LAST_LINK_QUAL_MEAS }; typedef UINT8 plgLinkQualMeasMode_te ; //ICAT EXPORTED ENUM enum { PLG_GPRS_CIPHER_NONE = 0 , /* Ciphering not used */ PLG_GPRS_CIPHER_GEA_1 = 1 , /* GPRS Encryption Algorithm GEA / 1 */ PLG_GPRS_CIPHER_GEA_2 = 2 , PLG_GPRS_CIPHER_GEA_3 = 3 , PLG_GPRS_CIPHER_GEA_4 = 4 , PLG_GPRS_CIPHER_GEA_5 = 5 , PLG_GPRS_CIPHER_GEA_6 = 6 , PLG_GPRS_CIPHER_GEA_7 = 7 /* GPRS Encryption Algorithm GEA / 7 */ }; typedef UINT8 plgGprsCipheringAlgorithm_te ; //ICAT EXPORTED ENUM enum { PLG_CHAN_F144 = 0 , PLG_CHAN_F96 , PLG_CHAN_F72 , PLG_CHAN_F48 , PLG_CHAN_F24 , PLG_CHAN_H48 , PLG_CHAN_H24 , PLG_CHAN_Z5X144 , PLG_CHAN_UT288 , PLG_CHAN_UT32 , PLG_CHAN_UT64 , PLG_NUMBER_OF_CHANNEL_TYPES }; typedef UINT8 plgOnAirRate_te ; //ICAT EXPORTED ENUM enum { PLG_ODD_L1_DATA_FRAME = 0 , PLG_EVEN_L1_DATA_FRAME }; typedef UINT8 plgOddOrEvenFrame_te ; //ICAT EXPORTED ENUM enum { PLG_AMR_PHASE_EVEN = 0 , PLG_AMR_PHASE_ODD = 1 }; typedef UINT8 plgAmrPhase_te ; //ICAT EXPORTED ENUM enum { PLG_NUM_TASKS }; typedef UINT16 plgTaskId_te ; //ICAT EXPORTED ENUM enum { PLG_DAI_RESET_LINE , PLG_GPIO_ACC_PLUGIN , PLG_GPIO_ACC_CHARGER , PLG_NUM_GPIO_REF }; typedef UINT8 plgGpioReference_te ; //ICAT EXPORTED ENUM enum { PLG_L1_NUM_STATUS }; typedef UINT8 plgL1Status_te ; //ICAT EXPORTED ENUM enum { PLG_PACKET_TEST_MODE_OFF = 0 , PLG_TEST_MODE_A_TX_RANDOM_DATA = 1 , PLG_TEST_MODE_B_LOOPBACK_RX_DATA = 2 , PLG_EGPRS_SWITCHED_SYMMETRIC_LOOPBACK_MODE = 3 , PLG_EGPRS_SWITCHED_ASYMMETRIC_LOOPBACK_MODE = 4 , PLG_LAST_PACKET_TEST_MODE }; typedef UINT8 plgPacketTestMode_te ; typedef UINT8 sibControl_te ; //ICAT EXPORTED ENUM enum { PLW_SIB_OFF = 0 , PLW_SIB_ALL , PLW_SIB_SKIP }; typedef UINT8 plgFddDlPduStatus_te ; //ICAT EXPORTED ENUM enum { /* Member: UDL_PDU_STATUS_CRC_OK = CRC for this PDU okay. */ PLG_FDD_DL_PDU_STATUS_CRC_OK = 0 , /* Member: UDL_PDU_STATUS_CRC_ERROR = CRC for this PDU failed. */ PLG_FDD_DL_PDU_STATUS_CRC_ERROR = 1 , /* Member: UDL_PDU_STATUS_UNUSED = The associated structure is not being used. */ PLG_FD_DL_PDU_STATUS_UNUSED }; //ICAT EXPORTED ENUM enum { PLG_SRO_REPEATED_SACCH_NOT_REQUIRED , PLG_SRO_REPEATED_SACCH_REQUIRED }; typedef UINT8 plgRepeatedSacchSro_te ; //ICAT EXPORTED ENUM enum { PLG_SRI_SACCH_MESSAGE_IS_NOT_REPEATED , PLG_SRI_SACCH_MESSAGE_IS_REPEATED }; typedef UINT8 plgRepeatedSacchSri_te ; typedef UINT8 CellLockControl_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 sfn ; /* SFN the block was received in ( the last frame in the TTI ) */ UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ // [ New_Feature ] add by wpan for add EcNo and Rscp in bchRpt INT16 cpichEcNo ; /* add by wpan to rpt ecno of detect wb cell */ INT16 cpichRscp ; /* add by wpan to rpt rscp of detect wb cell */ plgFddDlPduStatus_te status ; /* Good CRC or Bad CRC */ UINT8 frame [ 31 ] ; /* BCH Block , PLG_BCCH_DATA_LEN = 31 */ } plgUtranBchDecodeInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; /* ( 0 ..16383 ) UARFCN */ UINT16 scramblingCode ; /* The Range is from 0 to 8176 with step of 16 */ plgL1Error_te errorCode ; /* PLG_L1_CANT_DECODE_SIB - error indicating that phisical * parameters are not valid or DRX period is too small */ } plgUtranBchDecodeErrInd_ts; typedefs * / typedef UINT8 plgPhysicalBlock_ts [ 23 ] ; typedef UINT16 plgReducedFrameNumber_ts ; typedef UINT8 plgCipheringKey_ts ; typedef INT32 plgOtd_ts ; typedef UINT16 plgArfcn_ts ; //ICAT EXPORTED ENUM typedef enum { PLG_CODEC_TYPE_GSM_FR = 0 , PLG_CODEC_TYPE_GSM_HR = 1 , PLG_CODEC_TYPE_GSM_EFR = 2 , PLG_CODEC_TYPE_FR_AMR = 3 , PLG_CODEC_TYPE_HR_AMR = 4 , PLG_CODEC_TYPE_UMTS_AMR = 5 , PLG_CODEC_TYPE_UMTS_AMR2 = 6 , PLG_CODEC_TYPE_TDMA_EFR = 7 , PLG_CODEC_TYPE_PDC_EFR = 8 , PLG_CODEC_TYPE_FR_AMR_WB = 9 , PLG_CODEC_TYPE_UMTS_AMR_WB = 10 , PLG_CODEC_TYPE_OHR_AMR = 11 , PLG_CODEC_TYPE_OFR_AMR_WB = 12 , PLG_CODEC_TYPE_OHR_AMR_WB = 13 , // ----------------------------------- PLG_CODEC_TYPE_NUM , // ----------------------------------- PLG_CODEC_TYPE_NOT_APPLICABLE = 99 } plgCodecType_e; //ICAT EXPORTED STRUCT typedef struct { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Bool bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } plgMphEngModeDedSrvCellInfoInd_ts; //ICAT EXPORTED STRUCT typedef struct GmphGprsPdchTypeTag { UINT8 fer ; // PDCH Frame error rate ( % ) per timeslot. UINT8 ber ; // PDCH Bit error rate ( % ) per timeslot. UINT8 c2i ; // PDCH Carrier to Interference ratio per timeslot. Shall be set to 255 if not available. UINT8 iLevel ; // GPRS / EDGE measured interference level ( I_LEVEL ) Range: 0 to 15 . } GprsPdchType; //ICAT EXPORTED STRUCT typedef struct { GprsPdchType pdch [ 8 ] ; // Array for each PDCH timeslot UINT8 cValue ; // Channel Quality Report ( C_VALUE ) Range 0 to 63 . 3 GPP TS 5.080000 section 10.200000 .3.1.2 UINT8 rxQual ; // GPRS Channel Quality Report ( RXQUAL ) . Range: 0 to 7 UINT8 meanBep ; // Mean value of bit error probability ( MEAN_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 31 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 cvBep ; // Variation co-efficient for the bit error probability ( CV_BEP ) averaged over all timeslots for GMSK or 8 PSK , in the range 0 to 7 . // MSB bit: GMSK ( =0 ) , 8 PSK ( =1 ) UINT8 signalVar ; // GPRS / EDGE signal variance parameter SIGN_VAR calculated by the mobile station. Range: 0 to 63 } plgGmphEngModeGprsEdgeLinkQualInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 list [ 128 ] ; /* This gives a list of valid ARFCNs and is used by MPH exchanges involving BCCH search and measurements. The list is a bitmap of 1024 bits where channels are mapped according to their ARFCN */ } plgArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maSize ; /* Number of ARFCNs in hop sequence ( 1 = not hopping ) */ UINT8 maio ; /* Mobile Allocation Index Offset ( 0 - N-1 ) where N is the number of frequencies in the ma array */ UINT8 hsn ; /* Hopping Sequence ( generator ) Number ( 0 - 63 ) */ UINT8 nBinMask ; /* Bitmask used in hop calculation - constant for a given ma */ UINT8 tsc ; /* Training Sequence Code ( 0 - 7 ) */ plgArfcn_ts ma [ 64 ] ; /* Frequencies used when hopping. Non-hopping ARFCN stored in element [ 0 ] of ma array.*/ } plgFrequencyDefinition_ts; //ICAT EXPORTED STRUCT typedef struct { Bool useCiphering ; plgCipherAlgorithm_te algorithm ; plgCipheringKey_ts key [ 8 ] ; } plgCipheringParam_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numChannels ; UINT8 baInd ; plgArfcn_ts array [ 32 ] ; } plgBcchAllocation_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLevFull ; UINT8 rxLevSub ; UINT8 rxQualFull ; UINT8 rxQualSub ; Bool dtxUsed ; UINT8 timingAdv ; UINT8 txPowerLevel ; UINT8 padding ; UINT8 meanBep ; /* Mean Bit Error Probability ( BEP ) Enhanced Measurement Reporting ( EMR ) */ UINT8 cvBep ; /* Coefficient of Variation of the Bit Error Probability ( EMR ) */ UINT8 nbrRcvdBlks ; /* The number of correctly decoded blocks , as defined for RXLEV_VAL */ UINT8 rxLevVal ; /* Received level Value of each fully received and correctly decoded data block , whether the DTX was used in downlink or not */ UINT8 meanCir ; /*Mean Carrier to Interference Ratio ( CIR ) */ Bool dtxDlUsed ; /* TRUE if DTX was used on the downlink during the last measurement period. */ INT8 l1Snr ; } plgScellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexList [ 32 ] ; } plgNcellDedMeasurements_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 measChannelMap ; /* Bitfield of channels ( timelots ) measured for interference. If set to zero no carrier interference measurements exist */ UINT8 gamma [ 8 ] ; /* Interference value for each channel / timeslot on the measured carrier */ } plgCarrierInterference_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; UINT8 sortedIndexes [ 32 ] ; } plgNcellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 cValue ; /* Normalized receive signal level of MS measured on serving cell BCCCH carrier or on PDCH monitored for PRACH */ UINT8 signalVariance ; /* Interference measurements on carrier of assigned PDCHs */ plgCarrierInterference_ts pdchCarrierInterference ; /* Downlink PDCH receive signal level variance averaged over the number of blocks received during the period of 480 ms. */ INT8 l1Snr ; } plgScellMeasPtm_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 tAvgW ; /* Packet Idle Mode filter period. Range 0 - 25 . */ UINT8 tAvgT ; /* Packet Transfer Mode filter period. Range 0 - 25 . */ UINT8 pb ; /* PBCCH power reduction relative to BCCH. Range 0 - 30 ( -30 ) */ Bool pcMeasChan ; /* Measure level on PDCH or BCCH */ UINT8 nAvgI ; /* Interference measurements filter constant encoded as values of range 0 - 15 . Decode values range 1 - 181 . */ } plgL1GlobalPwrCtrlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te pageMode ; /* GPRS paging mode */ UINT8 timeslot ; /* Timeslot in carrier that PCCCH exists */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per 52 -frame multiframe. Range 1 - 4 */ UINT8 bsPagBlksRes ; /* Number of blocks per 52 -frame multiframe where neither packet paging nor PBCCH should appear. Range 0 - 12 */ UINT8 bsPrachBlks ; /* Number of blocks reserved per 52 -frame multiframe for PRACH */ UINT16 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 99 */ plgL1GlobalPwrCtrlParam_ts globalPwrCtrlParam ; /* Parameters for uplink power control and interference measurements */ plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal. Hopping is possible */ UINT16 pagingOffset ; /* Offset used by L1 to find its paging group values. Range 0 - 999 */ UINT16 splitPageCycle ; /* Number of page blocks for the page group of the MS during a page cycle of 64 51 -frame multiframes. Range 1 - 704 */ } plgL1PccchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* ARFCN of C0 carrier of serving cell. */ Bool combinedCcch ; /* Defines if CCCH is combined with SDCCH + SACCH */ UINT8 timeslot ; /* CCCH group of the MS , timeslot = { 0 , 2 , 4 , 6 } */ UINT8 dscInitValue ; /* Initial value for the downlink signalling failure counter. Range 10 - 45 */ UINT8 pagingGroup ; /* Page group of the MS. Range 0 - 81 . */ UINT8 bsAgBlksRes ; /* Number of blocks per 51 -multiframe not used for paging on CCH channel. Range 0 - 7 . */ UINT8 bsPaMfrms ; /* Page period in 51 -frame multiframes , MS should receive 1 page block during this. Range 2 - 9 . */ plgPageMode_te pageMode ; /* CS paging mode */ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; plgChannelType_te cbchType ; UINT8 cbchTimeslot ; plgFrequencyDefinition_ts cbchFreqDef ; /* Frequency configuration for CBCH */ UINT8 cbchTsc ; } plgCcchDescription_ts; //ICAT EXPORTED STRUCT typedef struct { Bool valuePresent ; /* Timing advance present or not */ UINT8 value ; /* Timing advance in bit periods. Range 0 - 63 */ Bool indexPresent ; /* Use Continuous Timing Advance procedure or not */ UINT8 index ; /* PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 15 */ UINT8 indexTimeslot ; /* Timeslot on PTCCH sub-channel assigned to MS for continuous Timing Advance operation. Range 0 - 7 */ Bool extendedTaPresent ; /* Extended Tining Advance present or not */ UINT8 extendedTa ; /* Extended Tining Advance */ } plgL1PacketTimingAdvance_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 pMaxControlLevel ; UINT8 dcsPowerOffset ; } plgL1PowerLevelControl_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 gammaTimeslotAllocation ; /* Bit field indicating which gammTn [ ] are present */ UINT8 alpha ; /* Encoded parameter of uplink power equation. Range 0 - 10 ( steps of 0.100000 ) */ UINT8 gammaTn [ 8 ] ; /* Uplink power control parameters specific to each channel. Range 0 - 62 . If gammaTn is not given then the field will be set to NO_GAMMA_FN*/ } plgL1PowerControlParams_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 p0 ; /* Power reduction relative to BCCH. Range 0 - 30 */ Bool btsPowerControlModeB ; /* Network downlink power control mode A , B or not exist */ plgL1PowerReductionMode_te prMode ; /* Power reduction mode A ( 1 MS ) or power reduction mode B ( all MS ) */ } plgL1BtsOutputPowerParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for uplink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for uplink transfer */ Bool powerCtrlPresent ; /* Power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters. If btsOutputPowerParam field is present , then the network is using downlink power control. In the case of dynamic allocaton , the btsPowerControlMode field of the structure will not exist. In this case , L1 will implicitly assume that the network is using downlink power control mode A , since downlink power control mode B is only used in fixed allocation. */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type.*/ } plgL1UlParam_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Coding scheme used */ UINT8 data [ ( 22 + 1 ) ] ; /* Data buffer */ } plgL1SbPayLoad_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startTime ; /* Start time for downlink transfer ( TBF or Single Block ) */ plgL1PacketTimingAdvance_ts packetTa ; /* Timing advance information for downlink transfer */ Bool powerCtrlPresent ; /* Uplink power control parameters present or not */ plgL1PowerControlParams_ts powerCtrl ; /* Uplink power control parameters , this field is never present in a single block */ plgL1PowerLevelControl_ts powerLevelControl ; Bool btsOutputPowerParamPresent ; /* Downlink power control parameters present or not */ plgL1BtsOutputPowerParam_ts btsOutputPowerParam ; /* Downlink power control parameters , this field is never present on single block */ UINT8 dlTimeslotAllocation ; /* Allocation of timeslots for downlink TBF */ plgPdchStructure_te pdchStructure ; /* Indicates if GPRS or EGPRS TBF. Once in TBF all new configurations on the UL and DL must be of the same type. */ plgLinkQualMeasMode_te linkQualMeasMode ; /* Indicates what type of measurements the mobile is required to report to the network as commanded in DL assignment. This field is included for clarity on the GMPH interface , but is not actually used by L1 */ } plgL1DlParam_ts; //ICAT EXPORTED STRUCT typedef struct { Bool newDnlink ; Bool rlcUnackMode ; UINT8 dnlinkTfi ; /* Used to identify downlink data blocks destined for the mobile. Range 0 - 31 . */ plgL1MacPwrReductionMode_te powerReductionMode ; UINT8 timeslotAllocation ; /* Contains the new DL timeslot allocation */ plgPdchStructure_te pdchStructure ; UINT16 egprsWindowSize ; plgLinkQualMeasMode_te linkQualMeasMode ; Bool isBep2 ; UINT8 bepPeriod ; } plgMacDlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool extendedDynamicAlloc ; /* extended dynamic allocation */ Bool granularity4Block ; /* 1 or 4 Radio blocks */ UINT8 usf [ 8 ] ; /* USF per uplink PDTCH i.e. timeslot */ } plgL1DynamicAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { Bool present ; UINT8 decrement ; UINT8 increment ; UINT8 maxValue ; } plgPanValues_ts; //ICAT EXPORTED STRUCT typedef struct { Bool rlcUnackMode ; /* Mac mode is Unacknowledged when TRUE */ Bool retryBitOneOrMore ; /* This is used by MAC to encode the retry ( R ) bit in the header. It indicates whether the mobile transmitted the ( packet ) channel request message one or more than one time during the most recent channel access */ plgPanValues_ts pan ; /* The Pan values are used to determine when a link failure has occurred ( similar to Radio Link Timeout ) . The max field is used to reset the N3102 counter , whilst the inc and dec fields are used to increment and decrement the N3102 counter on receiving a PACKET ACK / NACK message or timeout of timer T3182 respectfully. */ Bool onePhaseContentionResolution ; /* The onePhaseContentionResolution field when TRUE , instructs the MAC manager to update the N3104 counter each time a block is sent to the network. Should the counter N3104 reach n3104Max value , the MAC manager will send a release indication. The n3104Max value is derived from the bcCvMax field.*/ UINT8 bsCvMax ; /* Value provided so that MAC can work out the N3104 */ UINT8 timeslotsAssigned ; plgCodingScheme_te codingScheme ; /* The coding scheme to adopt */ plgCodingScheme_te tlliCodingScheme ; /* The coding scheme for the data blocks which contain the TLLI as part of one phase contention resolution. Valid when onePhaseContentionResolution is TRUE */ UINT8 uplinkTfi ; Bool finalAllocation ; /* Set when this is the final allocation of a fixed allocation. Always set to FALSE for Dynamic allocations. */ Bool enableT3180 ; /* Inform the MAC that T3180 is to be used i.e. dynamic allocation */ plgPacketTestMode_te packetTestMode ; /* 4.140000 Test mode parameters. If Test Active , this is set , this will inform MAC to loopback data received from the tester. */ UINT8 downlinkTimeslotOffset ; UINT8 timeslotAllocation ; /* Contains the new UL timeslot allocation */ plgPdchStructure_te pdchStructure ; Bool resegment ; UINT16 egprsWindowSize ; Bool isBep2 ; UINT8 bepPeriod ; Bool extUlTbfSupported ; } plgMacUlConfig_ts; //ICAT EXPORTED STRUCT typedef struct { Bool repeatAllocation ; /* Repeat the current allocation when finishes or not */ Bool tsOverridePresent ; /* Indicates whether the tsOverride field is valid or not */ UINT8 tsOverride ; /* Bitfield of timeslots whose allocation should be overriden */ Bool dnlinkTimeslotPresent ; /* dnlinkTimeslot field present or not */ UINT8 dnlinkTimeslot ; /* Downlink timeslot to monitor for downlink PACCH , range 0 - 7 */ Bool timeslotAllocationPresent ; /* Timeslot allocation exits or not */ UINT8 timeslotAllocation ; /* Bitfield of timeslots for use during uplink TBF */ Bool allocBitmapPresent ; /* Indicates whether the allocBitmapFormat , allocBitmapLength and allocBitmap fields are valid or not */ plgFixedAllocBitmapFormat_te allocBitmapFormat ; /* Interpretation of allocation bitmap , if present */ UINT8 allocBitmapLength ; /* Length of allocation bitmap in number of bits , range 0 - 255 */ UINT8 allocBitmap [ 32 ] ; /* Bitfield representing uplink radio blocks. Size 256 bits */ } plgL1FixedAlloc_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 arfcnListSize ; plgArfcn_ts arfcnList [ 32 ] ; UINT8 arfcnChannelMap [ 32 ] ; UINT8 hoppingListSize ; UINT8 hoppingChannelMap [ 4 ] ; plgFrequencyDefinition_ts hoppingList [ 4 ] ; } plgIntChannelList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 sizeOfAcs ; UINT8 initialCodecMode ; UINT8 acs [ 4 ] ; Bool threshPresent ; UINT16 thresh [ 3 ] ; Bool phasePresent ; plgAmrPhase_te phase ; Bool nscb ; /* For future use: noise suppresion not currently supported */ } plgAmrConfig_ts; //ICAT EXPORTED STRUCT typedef struct { void *type ; void *sig ; } plgCipherReference_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ UINT8 simId ; } plgPhConnectInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgRepeatedSacchSro_te sacchRepetitionOrder ; /* Repeated_SACCH SRO */ } plgPhReadyToSendInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ plgRepeatedSacchSri_te sacchRepetitionIndication ; /* Repeated_SACCH SRI */ } plgPhDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* Logical channel type */ } plgPhEmptyFrameInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( CBCH , SDCCH , SACCH , FACCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgPhysicalBlock_ts frame ; /* Up to 23 octets of Layer 3 data */ UINT32 lastBlockFrameNumber ; /* Frame Number in which last burst of data was transmitted */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; INT8 simID ; } plgPhDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numMeas ; /* Number of entries in arfcn [ ] and level [ ] */ UINT8 searchSeqNum ; /* From corresponding plgMphFindBcchReq or plgMphMeasureAllReq */ plgArfcn_ts arfcn [ 40 ] ; /* Sorted list of ARFCNs , strongest channel first */ UINT8 level [ 40 ] ; /* Measured signal levels for channels in arfc [ ] */ } plgMphBcchMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Either decode bsic or INVALID_BSIC */ UINT8 level ; /* Measured RSSI level for the channel */ plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBsicDecodeInd_ts; typedef UINT8 Bsic ; //ICAT EXPORTED STRUCT typedef struct { plgLogicalChannel_te logicalChannel ; /* The logical channel type ( PCH , CCCH or BCCH ) */ UINT8 subChannel ; /* Any associated sub-channel number */ plgArfcn_ts arfcn ; /* Channel number */ UINT16 rxLev ; /* Received level of the ARFCN * RxLev is defined as 0 < -110 -110 <= 1 < -109 -109 <= 2 < -108 ... -49 <= 62 < -48 -48 <= 63 */ UINT32 frameNumber ; // plgPhysicalBlock_ts frame ; / * Up to 23 octets of Layer 3 data * / UINT8 frame [ 23 ] ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; /** Channel Bsic */ Bsic bsic ; /** Band Indicator **/ Bool bandIndicator ; /** For Plmn search **/ Bool plmn ; } plgMphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Downlink Signalling Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphDownlinkSignalFailInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 sCellPcchInterference ; /* Will be invalid value when no present */ UINT8 cValue ; INT8 l1Snr ; plgScellAdditionalMeas_ts scAdditMeas ; } plgMphIdleScellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; /* BA index */ UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphIdleNcellMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; /* Frame Access burst was transmitted */ } plgMphHandoverStartInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 count ; /* Current value of Radio link timeout Counter*/ plgArfcn_ts arfcn ; /* Current Channel */ } plgMphRadioLinkTimeoutInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving Cell measurements */ plgNcellDedMeasurements_ts ncMeas ; /* Neighbour Cells measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements */ } plgMphDedicatedMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te errorCode ; /* Error code */ plgArfcn_ts c0Arfcn ; /* Channel number on which error reported */ Bsic bsic ; /**< Bsic of the Channel */ Bool plmn ; /**< Indication is for a PLMN search */ Bool bandIndicator ; /**< BandIndicator , useful for PLMN search */ INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgMphErrorInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; UINT8 sCellRxlev ; UINT8 rxLev [ 32 ] ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ } plgMphMonitorPlmnInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphCellLockCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; UINT8 pad ; } plgArfcnInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; UINT8 pad [ 3 ] ; plgArfcnInfo_ts arfcnList [ 40 ] ; } plgMphMultiBcchDecodeInd_ts; //ICAT EXPORTED ENUM typedef enum { PLM_BCCH_SCENARIO_PLMN , PLM_BCCH_SCENARIO_CSG , PLM_BCCH_SCENARIO_RESELECTION , PLM_BCCH_SCENARIO_ANR , PLM_BCCH_SCENARIO_HANDOVER , PLM_BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection PLm_BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging PLM_BCCH_SCENARIO_NUM_OF_SCENARIOS } PlgBcchDecodeScenario_te_enum; typedef UINT8 PlgBcchDecodeScenario_te ; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Bool bandIndicator ; UINT8 pad [ 3 ] ; } plgMultiArfcnList_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numOfArfcns ; Bool reportList ; PlgBcchDecodeScenario_te scenario ; Bool bgInd ; plgMultiArfcnList_ts list [ 40 ] ; } plgMphMultiBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ } plgMphFindBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool backOffActive ; /*activates or deactivates grip sensor enabling tx power back off*/ } plgMphTxPowerBackOffReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE = will remeasure , FALSE = will remeasure provided that the timer has expired since last measurement */ plgBandMode_te bandMode ; /* Requested band ( s ) */ UINT16 latestArfcn ; // latest campon freq add for csfb opt } plgMphFindBcchListReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ Bool combinedCcch ; /* TRUE if CCCH / SDCCH are multiplexed */ UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 dscInitValue ; /* Downlink SIgnalling Counter initial value */ UINT8 pagingGroup ; /* The mobile ' s paging group */ UINT8 bsAgBlksRes ; /* Number of channels reserved by the network for Access Grant data */ UINT8 bsPaMfrms ; /* Paging Repeat rate in Multiframes */ plgPageMode_te pageMode ; /* Normal Paging , Extended Paging , Paging Reorganization , No DRX or No Paging*/ plgBandMode_te bandMode ; plgCbchDataStatus_te cbchDataStatus ; /* CBCH enabled , disabled or not present. CBCH parameters are valid whether enabled or disabled */ plgChannelType_te cbchType ; /* SDCCH / 4 or SDCCH / 8 */ UINT8 cbchSubchannel ; /* Sub-channel */ UINT8 cbchTimeslot ; /* Timeslot ( 0 -3 ) for cell broadcast data */ UINT8 cbchTsc ; /* CBCH Training sequence code */ plgFrequencyDefinition_ts cbchFreqDef ; /* ARFCN information for both hopping or not hopping */ UINT16 sCellBcchControl ; /* Bitmap of required System Information messages. The bitmap refers to TC ( where TC = ( FN DIV 51 ) mod ( 8 ) ) Bits 0 - 7 refer to BCCH Norm and Bits 8 - 15 refer to BCCH Ext ( See 5.020000 section 6.300000 .1.3 - Mapping of BCCH data ) */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ UINT16 pagingOffset ; } plgMphBchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* Timeslot for paging data ( 0 - 7 ) */ UINT8 pagingGroup ; /* The mobile ' s paging group */ Bool splitPageSupported ; /* CCCH supports split page cycle or not */ UINT16 pagingOffset ; UINT16 splitPageCycle ; /* MS paging rate. Number of the page blocks for the page group of the MS during a page cycle of 64 51 Multiframes */ plgCbchDataStatus_te cbchDataStatus ; /**< CBCH enabled , disabled or not present. \note CBCH parameters are valid whether enabled or disabled */ UINT8 pccchTimeslot ; UINT16 pccchPagingOffset ; UINT16 pccchSplitPageCycle ; } plgMphDsConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsResumeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsSuspendReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 rev ; } plgMphDsStartPchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ } plgMphBcchSyncReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgPageMode_te csPageMode ; /* Circuit Switched Page Mode */ plgPageMode_te gprsPageMode ; /* GPRS Page Mode */ } plgMphPageModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sCellBcchControl ; /* System Information Messages. you can look at the remark * for this entry in plgMphBchConfigReq_ts to see detailed explanation*/ } plgMphServingCellBcchReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCbControl_te cbControl ; /* Cbon , Cboff , skip or skip n slots */ UINT8 numSlotsToSkip ; /* Number of slots to skip , if skip n slots specified */ } plgMphCbchControlReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel Number */ UINT16 nCellBcchControl ; /* Bitmap of required System Information frames * you can look at the remark for sCellBcchControl entry * in plgMphBchConfigReq_ts to see detailed explanation*/ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCNs are DCS or not */ Bool isDcs ; } plgMphBcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data to transmit in the access burst */ UINT8 rachSlotCount ; /* Used by L1 to calculate RACH slot for data transmission */ UINT8 ccchPowerLevel ; /* Power level for transmission */ } plgMphRandomAccessReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorAgch ; /* If TRUE , Layer 1 continues to receive AGCH and waits for an Assignment Command , if FALSE , Layer 1 enters IDLE mode*/ } plgMphStopRachReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcnList_ts arfcnList ; /* Bitmap of channels to include in sorted list */ UINT8 searchSeqNum ; /* returned by plgMphBcchMeasInd */ Bool remeasureRssi ; /* TRUE to force measurements */ plgBandMode_te bandMode ; /* Requested band ( s ) of operation */ } plgMphMeasureAllReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numArfcn ; /* Number of channels in arfcn [ ] */ plgArfcn_ts arfcn [ 6 ] ; /* ARFCNs which to decode bsic */ plgNcellPriority_te priority ; /* High or Low priority request */ /* For the case that priority = NCELL_PLMN_SEARCH_PRIORITY L1 needs to know if the ARFCN is DCS or not */ Bool isDcs ; } plgMphBsicDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts ba ; /* The lists in plgMphNcellMeasReq_ts and in * its indication signals are in the same order. * Sync is maintained using the baInd entry. * Note: the baInd entry sent and received * from L1 is not the baInd bit received from * the network but an index maintained by the PS. * The PS should map the baInd sent and received * from L1 to the baInd received from the Network */ } plgMphNcellMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ UINT8 timingAdvance ; /* Initial Timing Advance in bit period , 0 ..63 */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ } plgMphImmAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; /* BandMode */ // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphChanAssignmentReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipheringParam_ts cipheringParam ; /* Ciphering on / off , algorithm and key */ } plgMphCipherModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqRedef ; /* ARFCN or hopping parameters */ } plgMphFrequencyChangeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgChannelMode_te channelMode ; /* Signalling-only , speech or data channel */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgMphChannelModeReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; plgAmrConfig_ts amrConfig ; // #if defined ( MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING ) plgBandMode_te bandMode ; // #endif // MARVELL_UPGRADE_PCS_DCS_HO_SUPPORT_IN_PRODUCTION_TESTING } plgMphHandoverReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timingAdv ; /* New timing advance in bits , 0 - 63 */ } plgMphTimingAdvReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ Bool applyDtx ; /* If TRUE then DTX allowed */ } plgMphRadioLinkTimeoutReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBcchAllocation_ts extBa ; /* ARFCNs to be measured */ } plgMphExtMeasurementReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 maxTxPowerCapability [ PLG_NUM_BANDS ] ; UINT8 gprsMultislotClass ; /* Maximum Power level for GPRS multislot class */ UINT8 egprsMultislotClass ; /* The EGPRS multislot class of the MS. Range 1 -12 */ Bool pskOnUpLinkSupported ; /* Indicates if the mobile supports 8 PSK on the uplink. Required by Layer 1 for selecting training sequence when transmitting EGPRS EPRACH */ UINT8 egprs8pskRfPowerCapab [ PLG_NUM_BANDS ] ; /* This value corresponds to the maximum Power Level Control ( PLC ) for 8 psk supported by the MS for each band ( lower number = higher number ) . This value is used by L1 when adjusting tx power as commanded. If pskOnUplinkSupported is FALSE then this value is invalid. */ /* MultiSlot Power profile for GMSK and for 8 PSK , Values are 0 ..3 */ UINT8 gmskMultislotPowerProfile ; UINT8 epskMultislotPowerProfile ; Bool isDuallink ; plgBandMode_te supportedBand ; /* Band ( s ) supported */ } plgMphClassmarkReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts sCellArfcn ; /* Serving Cell ARFCN */ plgBcchAllocation_ts ba ; /* Neighbour Cells ARFCNs */ /** Requested bands to search. * Requested band that should be searched. */ plgBandMode_te bandMode ; } plgMphMonitorPlmnReq_ts; //ICAT EXPORTED STRUCT typedef struct { CellLockControl_te cellLockControl ; plgArfcn_ts cellLockArfcn ; plgBand_te cellLockBand ; } plgMphCellLockReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DeactivationCause_te cause ; } plgMphDeactivateReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgSynchronisation_te synchronisation ; /* Finely , pseudo , synchronized or non-synchronized */ plgChannelType_te type ; /* TCH / F , TCH / H , SDDCH / 4 or SDCCH / 8 */ plgChannelMode_te mode ; /* Signalling only , speech or data channel */ UINT8 subchannel ; /* Sub-channel according to channel type */ UINT8 timeslot ; /* Timslot number , 0 - 7 */ UINT8 tsc ; /* Training Sequence Code , 0 - 7 */ plgReducedFrameNumber_ts startingTime ; /* Frame to start channel coding */ plgFrequencyDefinition_ts freqDef ; /* ARFCN or hopping parameters */ UINT8 powerLevel ; /* Initial power level , 0 ..31 */ Bool applyDtx ; /* If TRUE then DTX allowed */ UINT8 radioLinkTimeout ; /* Radio Link Timeout value , 0 , 4 , 8 , .. 64 */ UINT8 timingAdvance ; /* Timing Advance if pre-synchronized */ Bool pwrc ; /* If TRUE then C0 not included in Serving Cell measurements */ plgCipheringParam_ts cipherParam ; /* Ciphering on or off , algorithym or key */ UINT8 reference ; /* Handover reference sent in Access burst */ Bool atc ; /* If TRUE then transmit RACH after Handover if not non-synchronized */ Bool ignoreOutOfRangeTa ; /* If TRUE then out of range TA calculated for finely and pseudo synchronized handovers can be ignored */ UINT8 realTimeDifference ; /* Used to calculate TA if pseudo synchronized */ plgArfcn_ts c0Arfcn ; /* New serving cell C0 ARFCN */ UINT8 bsic ; plgReducedFrameNumber_ts redefStartingTime ; /* Frame to start new frequency definition */ plgFrequencyDefinition_ts redefFreqDef ; /* New frequency definition */ Bool amrConfigPresent ; /* AMR Configuration present or not */ plgAmrConfig_ts amrConfig ; /* AMR Configuration */ } plgHandoverFromUtranCommand_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /* if TRUE than immediate move to GSM - not in use by GSM L1 */ UINT8 activationTime ; /* activation time to move from WBcdma not in used by GSM L1 */ Bool utranInOos ; Bool isCellChangeOrder ; UINT8 numCells ; /* This is the number of valid cells contained within the arfcn and bsic arrays. */ UINT16 arfcn [ 32 ] ; UINT8 bsic [ 6 ] ; /* BSIC of the top PLG_UMAX_NUM_GSM_CELLS GSM cells. */ Bool needSearchFullBand ; } plgUmphReselectToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te bandMode ; /* Band ( s ) supported */ Bool now ; /*Activate Now Handover to GSM immediately , ignore activation time*/ UINT8 activationTime ; /* activation time to move from WBcdma */ plgHandoverFromUtranCommand_ts hoCommand ; } plgUmphHandoverToGsmReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 uarfcn ; UINT16 scramblingCode ; sibControl_te sibControl ; sttdInd_te txDiversityOn ; UINT16 skipSfn ; } plgUtranBchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 bsic ; /* Decode BSIC or INVALID_BSIC */ plgArfcn_ts arfcn ; /* Channel number */ } plgMphBchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 rachMessage ; /* Data transmitted in access burst */ plgReducedFrameNumber_ts frameNumberTransmitted ; /* Reduced frame number of transmitted access burst */ } plgMphRandomAccessCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts arfcn ; /* Channel number */ UINT8 bsic ; /* Decoded BSIC or PLG_INVALID_BSIC */ UINT8 numRemainingBsicReq ; /* Number of BSIC decode requests still outstanding */ } plgMphBsicDecodeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphImmAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphChanAssignmentCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; } plgMphFrequencyChangeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgOtd_ts otd ; /* Calculated mobile time difference between new and previous channels */ plgL1Error_te l1Error ; } plgMphHandoverCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellDedMeasurements_ts scMeas ; /* Serving cell measurements */ plgNcellDedMeasurements_ts extNcMeas ; /* Neighbour cell measurements */ plgScellAdditionalMeas_ts scAdditMeas ; /* Scell Additional Measurements*/ } plgMphExtMeasurementCnf_ts; //ICAT EXPORTED STRUCT typedef struct { /** * Indicates the major Version of the layer 1 API layer 1 is built to support * The protocol stack can use this to check PS module and L1 Module are aligned */ UINT8 l1MajorVer ; /** * Indicates the Minor Version of the layer 1 API layer 1 is built to support * This is not critical to PS operation and other mechanisms shall restrict usage * of new features */ UINT8 l1MinorVer ; /** * Indicates optional features per release that can be disbaled by layer 1 */ UINT32 r99FeaturesSupported ; UINT32 r4FeaturesSupported ; UINT32 r5FeaturesSupported ; UINT32 r6FeaturesSupported ; /** * Indicates if a system enhancement , via a change in signal handling , is supported * by layer 1 or not */ UINT32 sysFeatureSupported1 ; UINT32 sysFeatureSupported2 ; UINT32 sysFeatureSupported3 ; UINT32 sysFeatureSupported4 ; } plgL1PsCfg_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ /** #Configuration for protocol stack features supported by layer 1 */ plgL1PsCfg_ts l1PsCfg ; } plgMphClassmarkCnf_ts; //ICAT EXPORTED STRUCT typedef struct { Bool success ; Bool rrcCellPch ; UINT8 reserv ; } plgMphDsResumeCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 reserv ; } plgMphDsPagingFailureInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgBandMode_te physicalBandsSupported ; /* The bands that are supported by the physical radio device. This enables the auto-band selection mechanism to search all required bands , but not bands that the radio does not support. */ } pldL1GsmCapabilityReportCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baInd ; } plgMphMonitorPlmnCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; UINT16 rxLev ; /* You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT32 frameNumber ; UINT8 data [ ( 22 + 1 ) ] ; Bool ourPpch ; INT16 avrFreqOffset ; UINT8 errorCount ; INT8 qBitError ; UINT8 nBursts ; } plgGmphUnitDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { Bool allocRepeated ; } plgGmphUlFxdAllocEndInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmEnterInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 frameNumber ; } plgGmphPtmExitInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 cValue ; /* Normalized receive signal at MS */ plgCarrierInterference_ts arfcnChanIntMeas [ 32 ] ; /* Interference measured on channels with ARFCN frequencies */ plgCarrierInterference_ts hoppingChanIntMeas [ 4 ] ; /* Interference measured on channels with hopping frequencies. L1 will process the hopping channels first */ } plgGmphIntMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgScellMeasPtm_ts sCellMeasPtm ; /* Serving cell measurements */ plgNcellMeasPtm_ts nCellMeasPtm ; /* Neighbour cells receive signal levels measured on neighbour cells BCCH carriers*/ } plgGmphPtmMeasInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts c0Arfcn ; /* ARFCN of the BCCH carrier of the cell. Used for synchronization to the cell ( FB and SB searches or restoring timing info for the cell ) */ plgPsiDecodeRequest_te psiDecodeRequest ; /* Command L1 to acquire only PSI1 , acquire all PBCCH messages continuously or stop acquiring packet system information */ UINT8 timeslot ; /* Timeslot to look for PBCCH on the carrier signal */ UINT8 bsPbcchBlks ; /* Number of PBCCH blocks per multiframe */ UINT8 psi1RepeatPeriod ; /* Repeat period in 52 -frame multiframes of PSI1 message occurrences on PBCCH. The psi1RepeatPeriod is optionally contained in PSI3 and PSI3bis messages of the serving cell */ UINT8 pb ; plgFrequencyDefinition_ts freqDef ; /* Frequency definition for the carrier signal , frequency hopping is possible */ } plgGmphPbcchDecodeReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; /* Id of the request signal */ plgL1PccchDescription_ts pccchDescription ; /* Configuration parameters for PCCCH */ plgCsPagingOptions_te csPagingOptions ; /* Options about CS paging presence and user preference */ plgCcchDescription_ts ccchDescription ; /* Configuration parameters for CCCH when in Network Operation mode III */ } plgGmphPccchConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit PRACH or schedule it only. This is releated to the persistence level and the radio priority of the LLC PDU that requires transmission.*/ plgPrachBurstType_te prachBurstType ; /* Type of burst to use. */ UINT16 prachMessage ; /* Message to transmit on PRACH */ UINT16 prachFramesCount ; /* Number of PRACH frames until next PRACH on schedule. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Relates to PCCCH only */ } plgGmphPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool monitorPccch ; /* Command L1 to continue monitoring downlink PCCCH or not */ } plgGmphStopPrachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; UINT8 timeslot ; /* Timeslot allocated for single block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock ; /* Data block and parameters */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer */ } plgGmphUlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; Bool channelParamValid ; /* Indicates if the frequency definition and parts of the UL parameters are valid. If not layer 1 should use previous configuration. New starting time must always be used */ UINT8 timeslot ; /* Timeslot allocated for multi block uplink transfer */ Bool monitorDlChan ; /* Monitor the downlink channel or not */ plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1SbPayLoad_ts dataBlock [ 2 ] ; /* 2 data block and parameters to be sent in the multi-block uplink transfer. */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block uplink transfer. Layer 1 verifies that frequency definition is valid. If not L1 return valid error cause in corresponding confirm. */ } plgGmphUlMbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for single block downlink transfer */ } plgGmphDlSbConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgMacDlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for downlink */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for downlink */ } plgGmphDlTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlDynTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for uplink TBF */ } plgGmphUlFxdTbfConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphUlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 releaseCtrl ; } plgGmphDlTbfShutdownReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1DynamicAlloc_ts dynamicAlloc ; /* Parameters for uplink dynamic allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink dynamic allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink dynamic allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphDynTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1UlParam_ts ulParam ; /* Common parameters for uplink transfer configuration */ plgL1DlParam_ts dlParam ; /* Common parameters for downlink transfer configuration */ plgL1FixedAlloc_ts fixedAlloc ; /* Parameters for uplink fixed allocation */ plgMacUlConfig_ts macUlCfg ; /* Parameter to be used from L1 to configure MAC for uplink fixed allocation */ plgMacDlConfig_ts macDlCfg ; /* Parameter to be used from L1 to configure MAC for downlink fixed allocation */ plgFrequencyDefinition_ts freqDef ; /* Frequency configuration for TBF */ } plgGmphFxdTsReconfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool globalPwrControlPresent ; plgL1GlobalPwrCtrlParam_ts globalPwrControl ; Bool powerCtrlPresent ; plgL1PowerControlParams_ts powerControl ; plgL1PowerLevelControl_ts powerLevelControl ; /* Cell constants for max power levels */ Bool globalPktTaPresent ; plgL1PacketTimingAdvance_ts uplinkTaInfo ; plgL1PacketTimingAdvance_ts dnlinkTaInfo ; } plgGmphTimingPowerReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1GlobalPwrCtrlParam_ts globalPwrControl ; /* Power control parameters for uplink and interference */ } plgGmphPwrCtrlConfigReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslotsAvail ; /* A bitmap indicating which timeslots are available. Any timeslots marked as not available must not be used by the mobile. */ } plgGmphPdchReleaseReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgNetCtrlRequest_te netCtrlRequest ; /* The Network Control command ; Network Control measurements with additional interference measurements on serving cell PCCH , Network Control measurements with no additional interference measurements , or do not perform Network Control measurements. Serving cell PCCH interference measurements should only be requested when in Packet Idle mode. */ plgNetCtrlReportPeriod_te netCtrlReportPeriod ; /* Network Control measurements reporting period during which L1 must provide GRR with at least 1 set of Network Control measurements */ } plgGmphNetCtrlMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 numOfEntries ; /* Number of entries in the list */ plgArfcn_ts frequencyList [ 64 ] ; /* ARFCN frequency list of carriers for extended measurements */ plgArfcn_ts intFrequency ; /* Carrier frequency for interference measurements for Extended Measurements reporting. MS measures as many channels as possible. Field should be set to PLG_INVALID_ARFCN to stop interference measurements or denote that they are not required. */ } plgGmphExtMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgArfcn_ts extIntArfcn ; /* GmphExtMeasReq */ Bool scellIntRequired ; /* GmphNetCtrlMeasReq */ plgIntChannelList_ts channelList ; } plgGmphIntMeasReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te defaultPrachCs ; } plgGmphPrachFormatReq_ts; //ICAT EXPORTED STRUCT typedef struct { Bool transmitPrach ; /* Command L1 to schedule & transmit access burst or schedule it only. This is related to the persistence level and the radio priority of the LLC PDU that requires transmission. Only applicable on PCCCH. */ UINT16 prachMessage ; /* 11 -bit EGPRS Packet Access Request message to transmit */ UINT16 prachFramesCount ; /* Number of frames until next access burst schedule on CCCH or PCCCH. Range 12 - 266 . */ UINT8 msTxpwrMax ; /* Max power level on PCCCH or CCCH depending on active control channels. */ } plgGmphEprachReq_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit EPRACH */ Bool prachTransmitted ; /* Indicated if the EPRACH was transmitted by L1 or not. Only applicable on PCCCH. Always TRUE on CCCH. */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that EPRACH request was schedule for transmission */ } plgGmphEprachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sequenceId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphPccchConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 prachMessage ; /* Message requested to transmit on PRACH */ Bool prachTransmitted ; /* Indicated if the PRACH was transmitted by L1 or not */ plgReducedFrameNumber_ts prachTxFrameNumber ; /* Frame number that PRACH request was schedule for transmission */ } plgGmphPrachCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlSbConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 sblockId ; } plgGmphUlSbAbortReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDlTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlDynTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphDynTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphUlFxdTbfConfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Error_te l1Error ; UINT16 devErrorStatus ; } plgGmphFxdTsReconfigCnf_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlInd_ts; //ICAT EXPORTED STRUCT typedef struct { plgPktOpCtrl_te pktOpCtrl ; } plgGmphPktOpCtrlResp_ts; //ICAT EXPORTED STRUCT typedef struct { Bool uplinkTbfGone ; Bool dnlinkTbfGone ; } plgGmphPdchReleaseCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 baId ; /* Id of requested signal */ UINT8 rxLev [ 64 ] ; /* Unsorted array of RSSI values measured for extended frequency list carriers * You can look at rxLev entry at plgMphUnitDataInd_ts * to see detailed explenetion for the values*/ UINT8 lengthSortedList ; /* Number of entries in sorted index array*/ UINT8 sortedIndexes [ 64 ] ; /* Array containing sorted indices to level array */ plgCarrierInterference_ts carrierInterference ; /* Interference level measured for requested carrier ( on as many timeslots as possible ) */ UINT8 cValue ; /* Normalised receive signal level at MS*/ } plgGmphExtMeasCnf_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block received */ plgOnAirRate_te rate ; /* On-air data rate F14.4 , F9.6 , F7.2 , F4.8 , F2.4 , H4.8 or H2.4 , application can reconfigure for splitting if needed */ plgOddOrEvenFrame_te oddOrEvenFrame ; /* Indicates whether odd or even interleaved block received. Informs data stack whether first or second half of data frame received for non-transparent data ( 14.400000 or 4.800000 ) */ } plgRtl1DownlinkDataInd_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 frameData [ 72 ] ; /* Data block to be transmitted. */ Bool canTxWithDtx ; /* If TRUE then application can use DTX , if FALSE then must always transmit */ } plgRtl1UplinkDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { /* Ciphering keys */ UINT8 kc [ 8 ] ; /* Cipher key data - ciphering key ( 64 bits ) */ UINT32 input ; /* Cipher key data - frame-dependent from LLC */ plgCipheringDirection_te direction ; /* Cipher key data - false for uplink direction */ plgGprsCipheringAlgorithm_te cipheringAlgorithm ; /* Cipher key data - Ciphering Algorithm */ UINT16 length ; /* Indicates the length of the ciphered portion of the frame */ UINT8 *data ; /* Place in LLC frame where the ciphering should start */ plgCipherReference_ts reference ; /* Reference to be returned in Response */ } plgGl1CipherDataReq_ts; //ICAT EXPORTED STRUCT typedef struct { plgCipherReference_ts reference ; /* Reference passed in request */ Bool flushed ; /* data in flushed due to plgGl1CipherFlushReq */ } plgGl1CipherDataCnf_ts; //ICAT EXPORTED ENUM enum { PLG_MAC_TX_BLOCK_NEW_DATA , PLG_MAC_TX_BLOCK_CONTROL , PLG_MAC_TX_BLOCK_RETRANS , PLG_MAC_TX_BLOCK_NACKED , PLG_MAC_TX_BLOCK_DUMMY , PLG_MAC_TX_BLOCK_INVALID , PLG_MAX_NUM_TX_BLOCK_TYPES }; typedef UINT8 plgL1MacTxBlockType_te ; //ICAT EXPORTED ENUM enum { PLG_MAC_CTRL_ACK_HIGH_PRI , PLG_MAC_CTRL_ACK_LOW_PRI , PLG_MAC_CTRL_ACK_NUM_PRI }; typedef UINT8 plgMacCtrlAckPriority_te ; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* Used to indicate the coding standard to be used for this radio block. This should never be a RACH coding scheme. */ plgL1MacTxBlockType_te blockType ; /* Used to indicate whether or not the content represents a dummy block or real data */ plgPuncturingScheme_te ps1 ; /* Puncturing for data block 1 */ plgPuncturingScheme_te ps2 ; /* Puncturing for data block 2 ( MCS7 , 8 and 9 only ) */ Bool padding ; /* Instruct L1 to pad the data before transmission */ UINT8 *content ; /* Can be a pointer to EDGE control data or to EDGE header data depending on csUsed */ UINT8 *content2 ; /* A pointer to data1. */ UINT8 *content3 ; /* A pointer to data2 or a pointer to NULL if second encode is not required */ } plgTxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numberOfPackets ; /* Is the number of blocks returned from the call. This must match the number of blocks requested by the mac manager. It indicates the number of pointers in the txPayload array that are valid. */ plgTxPayloadBuffer_ts *txPayload [ ( 4 ) ] ; /* An array of pointers to TxPayloadBuffers. */ } plgBurstProfile_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 blocksRequired ; /* For dynamic allocation this is the number of blocks that L1 requires to be ready for the next radio block. L1 will require one block for each USF that may be granted. If USF has not been granted L1 may request 0 blocks as it will still have data available from the previous request. In Fixed allocation Layer 1 will only request the number of blocks it is able to transmit in the next Radio Block.The range of values for blocksRequired for a multislot class 12 mobile is 0 to 4 */ plgBurstProfile_ts burstProfile ; /* Is used to return the requested transmit blocks */ } plgL1MacTxPayload_ts; //ICAT EXPORTED STRUCT typedef struct { plgCodingScheme_te csUsed ; /* The coding scheme detected for this radio block. This could be set to PLG_INVALID_CODING_SCHEME but the other fields will be valid as the quality data might be required */ UINT8 timeslot ; /* The timeslot field indicates the timeslot in which the control / data block was received. This information is required should the RRBP ( Relative Reserved Block Period ) be indicated within the MAC header of the control or data block. */ UINT16 blockQualityData ; /* The bit error count from the channel codec for this radio block. Only blocks which are addressed to this MS should be included in the RXQUAL calculation. */ UINT8 *content ; /* A pointer to the content of the radio block. */ UINT32 frameNumber ; Bool loopbackSubModeOn ; } plgRxPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 timeslot ; /* The timeslot that the data must be transmitted on. */ plgCodingScheme_te csToUse ; /* The coding scheme that must be used to encode the data. */ UINT8 *content ; /* Pointer to the data to be transmitted. */ plgMacCtrlAckPriority_te priority ; /* Priority of this control ack ( high or low ) . */ } plgL1MacControlAck_ts; //ICAT EXPORTED STRUCT typedef struct { Bool csChanged ; /* The transmit coding scheme has changed. Layer 1 needs to purge all blocks of type PLG_MAC_TX_BLOCK_NEW_DATA and PLG_MAC_TX_BLOCK_RETRANS. Layer 1 informs MAC which blocks have been purged using a call to plgMacTxDataBlocksPurgedInd. */ UINT16 numNackedBlocksPending ; Bool retransBlocksChanged ; /* This indicates that the blocks of type PLG_MAC_TX_BLOCK_RETRANS have changed and need to be purged. */ } plgL1MacTxBlockInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 numBlocks ; /* This is the number of blocks purged and also indicates how many of the blockTypes and blockPtrs array entries are valid. */ plgL1MacTxBlockType_te blockTypes [ ( 4 ) ] ; /* This is an array of block types that indicates the type of data pointed to by the corresponding blockPtr. */ UINT8 *blockPtrs [ ( 4 ) ] ; /* This is an array of pointers to the data content of the blocks that Layer 1 has purged. A pointer in this array will be the same as a previous pointer passed to Layer 1 in the content field of the plgTxPayloadBuffer_ts structure. */ } plgL1MacTxBlocksPurged_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 meanBepBlock ; UINT16 cvBepBlock ; } plgEgprsRxQualData_ts; //ICAT EXPORTED STRUCT typedef struct { plgEgprsMacHeaderType_te macHeaderType ; /* Type of EGPRS header as determined by L1 to enable MAC to decode header information */ plgEgprsRxQualData_ts egprsRxQualData ; /* The coding scheme that must be used to encode the data. */ UINT8 timeslot ; /* Pointer to raw header data for decoding ( header bit 0 packed to bit 0 ) */ UINT8 *content ; /* Frame number in which first burst in radio block received */ UINT32 frameNumber ; /* Quality control measurements data. */ } plgEgprsRxHeaderPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgBepLinkQualMeasStatus_te status ; UINT8 gmskMeanBep ; UINT8 gmskCvBep ; UINT8 eightPskMeanBep ; UINT8 eightPskCvBep ; } plgEgprsBepLinkQualMeas_ts; //ICAT EXPORTED STRUCT typedef struct { Bool blockIsOurs ; /* If block valid , i.e is ours , decode data */ plgCodingScheme_te mcs ; /* Coding scheme to decode data block */ plgPuncturingScheme_te ps1 ; /* Puncturing scheme to decode first block ( Always valid ) */ plgPuncturingScheme_te ps2 ; /* Puncturing scheme to decode second block ( MCS7-8 & 9 Only ) */ UINT16 bsn1 ; /* Block sequencer number of first block ( Always valid ) */ UINT16 bsn2 ; /* Block sequencer number of second block ( MCS7-8 & 9 Only ) */ UINT8 *bsn1Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN1 , or PNULL if incremental redundancy not required for this decode of block 1 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ UINT8 *bsn2Sds ; /* Pointer to incremental redundancy data store for previous data block decode for BSN equal to BSN2 ( MCS7-8 & 9 Only ) , or PNULL if incremental redundancy not required for this decode of block 2 . ( If support for IR is disabled in MAC , MAC shall return PNULL ) */ Bool padding ; /* Indicates if padding present in the first data block as needs to be removed by L1 */ UINT8 powerReduction ; /* The RLCMAC block header field ' Power Reduction ' is extracted from the radio block and returned to L1 using the powerReduction parameter. This is the raw value from the MAC header , Layer 1 uses this along with the returned Boolean and the power reduction mode ( from the TBF config ) to calculate the actual Power Reduction value. If the PR field was not present in the MAC header of the received block the powerReducation parameter should be set to PLG_MAC_INVALID_PR_VALUE = 0xFF */ } plgEgprsRxDecodeInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 startFrame ; UINT8 *content ; /* Pointer to a data block , maximum size equal to MCS9 */ UINT16 bsn ; /* bsn of data block decoded to match to header info. */ } plgEgprsRxDataPayloadBuffer_ts; //ICAT EXPORTED STRUCT typedef struct { plgL1Status_te l1Status ; } plgL1AlStatusInd_ts; //ICAT EXPORTED STRUCT typedef enum NcellPriorityTag { NCELL_LOW_PRIORITY = 0 , NCELL_HIGH_PRIORITY = 1 , NCELL_PLMN_SEARCH_PRIORITY = 3 , /* note: following ENUM can ' t be used stand alone , used only for bit manipulation */ NCELL_CANDIDATE_PRIORITY = 0x8000 , /* CANDIDATE NCELLs have single SB search in L1 */ NCELL_CANDIDATE_LOW_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_LOW_PRIORITY ) , NCELL_CANDIDATE_HIGH_PRIORITY = ( NCELL_CANDIDATE_PRIORITY + NCELL_HIGH_PRIORITY ) , LAST_NCELL_PRIORITY } NcellPriority; //ICAT EXPORTED STRUCT typedef struct CipheringParamTag { Boolean useCiphering ; /**< TRUE is ciphering enabled */ CipherAlgorithm algorithm ; /**< Algorithm to use */ CipheringKey key ; /**< Key to use */ } CipheringParam; //ICAT EXPORTED STRUCT typedef struct MphEngModeDedSrvCellInfoIndTag { UINT16 dedArfcn ; // Bit 15 : ARFCN is DCS ( 0 ) or PCS ( 1 ) // Bits 0 -14: The Absolute Radio Frequency Channel Number ( ARFCN ) of the dedicated // ( TCH , SDCCH ) radio channel if frequency hopping was not used on the last SACCH multi-frame ; // 0xFFFF otherwise UINT8 Maio ; // The Mobile Allocation Index Offset ( MAIO ) if frequency hopping was used on the last // SACCH multiframe ; 0xFF otherwise UINT8 hsn ; // The Hopping Sequence Number if frequency hopping was used on the last SACCH multiframe ; // 0xFF otherwise UINT8 timeslot ; // The timeslot number used. UINT8 rxLevFull ; // The received signal strength of the current serving cell , averaged over all TDMA frames // during the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxLevelSub ; // The received signal strength of the current serving cell , averaged over a subset of TDMA frames during // the reporting period of one SACCH multi-frame , mapped to an RXLEV value between 0 and 63 UINT8 rxQualFul ; // Received quality of current serving cell , averaged over all TDMA frames , and mapped to an RXQUAL // value between 0 and 7 , which itself is mapped to anequivalent Bit Error Rate ( BER ) - the ratio between // error bits and received bits. UINT8 rxQualSub ; // Received quality in current serving cell , averaged over a subset of TDMA frames , and mapped to an // RXQUAL value between 0 and 7 , which itself is mapped to an equivalent BER - the ratio between // error bits and received bits UINT8 ferFull ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over all TDMA frames. UINT8 ferSub ; // The Frame Erasure Rate ( FER ) on GSM channels is a value between 0 and 100 % that indicates the // percentage of blocks that have been discarded due to error in the CRC , averaged over 2 TDMA frames per SAACH multi-frame. plgCodecType_e codec ; // TThe GSM speech codec in use UINT8 timingAdv ; // The Timing Advance last commanded by the network , in the range 0 to 63 . UINT8 powerLevel ; // The mobile output power ( dBm ) of the uplink in dedicated mode , in the range 0 to 39 dBm ( depending on the power class ) . UINT8 dedConfig ; // Bit 0 ( LSB ) : [ 1 ] If Radio Link Timeout occurred during the last SACCH multi-frame. [ 0 ] No RLT occurred. // Bit 1 : [ 1 ] If DTX was used by the network during the last SACCH multi-frame. [ 0 ] No DTX used. // Bit 2 : [ 1 ] If frequency hopping was in use on the dedicated channels during the last SACCH multi-frame. [ 0 ] No frequency hopping used. // Bit 3 : [ 1 ] Synthesized frequency hopping. [ 0 ] Baseband frequency hopping Boolean bandInd ; // 0 = ARFCN_BAND_DCS_1800 // 1 = ARFCN_BAND_PCS_1900 // Band indicator for GSM dedicated ARFCN. } MphEngModeDedSrvCellInfoInd; //ICAT EXPORTED STRUCT typedef struct ScellAdditionalMeasTag { /* For DEVELOPMENT_VERSION only */ Int32 bitErrQualityFull ; Int32 bitErrQualitySubset ; Int32 bitErr ; Int32 bitNum ; } ScellAdditionalMeas; //ICAT EXPORTED ENUM typedef enum { BCCH_SCENARIO_PLMN , BCCH_SCENARIO_CSG , BCCH_SCENARIO_RESELECTION , BCCH_SCENARIO_ANR , BCCH_SCENARIO_HANDOVER , BCCH_SCENARIO_CELL_SELECTION , // used in case of cell selection BCCH_SCENARIO_REGULAR_RECEPTION , // used in case of sibs reception on serving cell for example because of paging BCCH_SCENARIO_NUM_OF_SCENARIOS } MphBcchDecodeScenarioEnum; typedef Int8 MphBcchDecodeScenario ; //ICAT EXPORTED STRUCT typedef struct { Int16 arfcn ; Int16 nCellBcchControl ; // 0 ¨C means stop the bsic / bcch decoding Boolean bandIndicator ; Int8 pad [ 3 ] ; } MphMultiArfcnList; //ICAT EXPORTED ENUM typedef enum DsCmdMuxReqOperationIdTag { /* DS_LTEL1_READY_REQ: use this in two cases: 1 ) when switch mode ( LTE on ) , only Rx L1_READY ( SIM2 exist task ) , then can switch mode to LTE SIM1 2 ) when LTE L1 is OOS , L1A should send this IPC to L1 before cellSearch*/ DS_LTEL1_READY_REQ = 0x0050 , /*DS_GSM_GAP_CANC_IND: when need to cancel already allocated gap , GPLC can send this IPC to indicate SCM to delete task. when gapType is ALL_GAPS , means indicate SCM cancle all 2 G gaps.*/ DS_GSM_GAP_CANC_IND = 0x0030 , DS_SUSPEND_LTE_REQ = 0x0052 , /*SIM2 ( GSM ) suspend SIM1 ( LTE ) L1*/ DS_RESUME_LTE_REQ = 0x0054 , /* SIM2 ( GSM ) resume SIM1 ( LTE ) L1*/ DS_SCHD_GSM_GAP_REQ = 0x002C , /* GPLC schedual gap*/ DS_START_LTE_PCH_REQ = 0x0026 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to start Rx paging , L1A provide API for GPLC*/ DS_SCHD_GSM_GAP_ABORT_REQ = 0x005F , /*SIM2 LTE send GPLC GapAbortReq*/ DS_STOP_LTE_PCH_REQ = 0x0028 , /*when SIM2 is PS , GPLC->L1A->LTEL1 to stop Rx paging , L1A provide API for GPLC*/ DS_SCHD_LTE_GAP_IND = 0x002A , /*GPLC-> L1A ->L1 , indicate LTE whether to accept gap , in order to RX LTE PCH in 2 g PS*/ DS_GSM_GAP_FINISH_IND = 0x002E , /*GPLC-> L1A ->L1 , whenever finish gap or return in advance*/ DS_GSM_DEACT_IND = 0x0034 , /*GPLC -> L1A ->L1 to indicate SIM2 has already deactive*/ DS_GSM_TO_LTE_SLEEP_REQ = 0x0056 , /*GPLC -> L1A ->L1 to notify LTE L1 the sleep info of SIM2*/ DS_LTE_CONN_GAP_CNF =0x0058 , /*useless , GPLC no need to replay when has no task , otherwise reply IPC_DS_GSM_GAP_FINISH_IND / IPC_DS_GSM_GAP_CANC_IND.*/ /*CQ00088816 start add*/ DS_GSM_URGENT_REQ = 0x005C , /*CQ00088816 end add*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxReqOperationId; //ICAT EXPORTED ENUM typedef enum DsCmdMuxIndOperationIdTag { DS_LTEL1_READY_CNF = 0x0055 , /*to indicate L1a that SIM1 / SIM2 switch finish , then L1A can send CellSearch*/ DS_LTE_INACTIVE_IND = 0x002F , /*when SIM1 Rx deactive , SCM wil send this IPC to indicate GPLC , then GPLC will cancle task and send EcphyDsGapCancInd to L1*/ DS_SCHD_GSM_GAP_IND = 0x0021 , /* if urgentFlag is true in EcphyDsSchdGsmGapReq , L1 reply with EcphySchdGsmGapInd immediately*/ DS_SUSPEND_LTE_CNF = 0x0051 , /*SIM2 suspend SIM1 LTE L1*/ DS_RESUME_LTE_CNF = 0x0053 , /* SIM2 resume SIM1 LTE L1*/ DS_SCHD_GSM_GAP_ABORT_CNF = 0x005A , /*GPLC reply EcphyDsSchdGsmGapAbortReq with GapAbortCnf */ DS_BUF_LTE_MSG_IND = 0x0057 , /*L1 indicate L1a to buffer IPC when GSM gap*/ DS_RELATCH_L_T_REQ =0x002B , /*indicate GPLC to reLatch LTU*/ DS_SCHD_LTE_GAP_REQ =0x0059 , /*when SIM2 is ps , SIM1 shedual gap from SIM2*/ DS_LTE_GAP_FINISH_IND = 0x0031 , DS_LTE_GAP_CANC_IND = 0x0033 , DS_LTE_PAGING_FAILURE_IND = 0x005B , /*L1 trigger this when it can not correctly RX paging*/ DS_LTE_CONN_GAP_IND = 0x005D , /*L1->GPLC , to indicate whether there is extra gap for sim2 use when Lte in connected state*/ /*CQ00110243 start add*/ /*CQ00110243 end add*/ } DsCmdMuxIndOperationId; //ICAT EXPORTED ENUM typedef enum EUFrequency_BandTag { EUFrequency_Band_dcs1800BandUsed , EUFrequency_Band_pcs1900BandUsed } EUFrequency_Band; typedef Int8 L1aHagGplcEmptySignal ; //ICAT EXPORTED ENUM typedef enum EL1DeactivationCauseTag { EL1_DEACT_NORMAL = 0 , EL1_DEACT_POWER_OFF = 1 } EL1DeactivationCause; //ICAT EXPORTED STRUCT typedef struct LteFreqCellInfoInGsmTag { // ARFCN of the frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Number of cell in current frequency Int16 numOfCell ; // The cell Id of each cell , value range:0~503 Int16 phyCellId [ 32 ] ; // 32 } LteFreqCellInfoInGsm; //ICAT EXPORTED ENUM typedef enum LteNcellMeasCtrlTag { LTE_NCELL_MEAS_OFF = 0 , LTE_NCELL_MEAS_ON = 1 , LTE_NCELL_MEAS_INVALID = 0x7fffffff // for 32 bit aliagnment } LteNcellMeasCtrl; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellParamsTag { Earfcn eArfcn ; /*CQ00107221 modify from Int16*/ Int8 numElem ; // Physical cell id of the reported cell , value range:0~503 Int16 phyCellId [ 4 ] ; // refer to: 45.008000 : 8.100000 .5.5 ; GRR will convert the measurement value to required positive value , and the thethod is different with LTE RAT SignedInt16 rsrp [ 4 ] ; SignedInt16 rsrq [ 4 ] ; Boolean detected ; /* used for CMCC_FR IF: =TRUE , the freq is measured and reported in EmphLteNcellMeasInd , IF: =FALSE , the freq is not measured and reported value is from history , during CMCC_FR , GRR will consider these freq to monitor: ( 1 ) detected = TRUE: the freq with non-zero reported value ( 2 ) detected = FALSE: the freq with zero reported value because maybe there is cell of the freq ( 3 ) detected = FALSE: the freq with non-zero reported value because maybe there is cell of the freq */ } EmphLteNcellParams; //ICAT EXPORTED ENUM typedef enum LteRatModeTag { LTE_RAT_MODE_NULL = 0 , TDD_LTE = 1 , FDD_LTE = 2 , INVALID_RAT = 0x7fffffff // just for 32 bit alignment } LteRatMode; //ICAT EXPORTED ENUM typedef enum EL1ErrorTag { /** * No error. The request was handled correctly. */ EL1_SUCCESS , /** * A #MphBcchDecodeReq was received but reception cannot be started. This * may occur because Layer 1 either has no valid timing information for the * requested cell , or the control bitmap was incorrectly formatted. */ EL1_CANT_DECODE_BCCH , /** * Generally used to indicate that Layer 1 is not in the correct state to * handle some request. */ EL1_INTERNAL_ERROR , /** * BCCH decoding was attempted , but the received blocks could not be decoded. * This is commonly seen in an #MphErrorInd in poor signal conditions. */ EL1_BCCH_DECODE_ERROR , /** * Frequency definition contains ARFCNs not supported by the current band mode. */ EL1_FREQ_NOT_IMPLEMENTED , /** * Frequency definition contains ARFCNs not supported by the current band * mode , and a starting time has elapsed. Maybe used in #MphHandoverCnf. */ EL1_FREQ_NOT_IMPLEMENTED_ELAPSED , /** * A specified or calculated timing advance value was out of range. * Timing advance is normally specified in bits , and can range from * 0 to 63 . * * For handover , this may indicated that the timing advance calculated * for finely or pseudo-synchronised handover is out of range and the * parameter ignoreOutOfRangeTa was not set. */ EL1_TA_OUT_OF_RANGE , /** * Layer 1 has no synchronisation information for the specified cell. */ EL1_NO_TIMING_INFORMATION , /* Development Only */ EL1_CCCH_DECODE_ERROR , EL1_SACCH_DECODE_ERROR , EL1_SDCCH_DECODE_ERROR , EL1_FACCH_DECODE_ERROR , EL1_PCH_DECODE_ERROR , /* GPRS */ EL1_PTCCHD_DECODE_ERROR , EL1_PDTCH_DECODE_ERROR , EL1_SBLOCK_START_ERROR , EL1_NO_MORE_SBLOCK_BUFFS , EL1_NO_SBLOCK_CHANNEL_INFO , EL1_SBLOCK_BAD_FREQ_DEF , EL1_CANT_DECODE_PBCCH , EL1_PBCCH_DECODE_ERROR , EL1_TBF_NO_SLOTS , EL1_TBF_TOO_MANY_TX_SLOTS , EL1_TBF_TOO_MANY_RX_SLOTS , EL1_TBF_TOO_MANY_TOTAL_SLOTS , EL1_TBF_TX_AND_RX_SLOTS_CLASH , EL1_PCCCH_CONFIG_ERROR , EL1_PCCCH_DECODE_ERROR , /* AMR */ EL1_AMR_UNKNOWN , EL1_AMR_RATSCCH_DECODE_ERROR , EL1_AMR_BAD_THRESH_ORDER , EL1_AMR_BAD_HYST_ORDER , EL1_AMR_BAD_UNUSED_THRESH , EL1_AMR_BAD_ACS_SIZE , EL1_AMR_INVALID_HR_CODEC , EL1_AMR_ICM_OUT_OF_RANGE , EL1_AMR_NO_CONFIG , EL1_AMR_ACK , EL1_ILLEGAL_ALLOCATION , /* ** error code returned if an attempt is made to initiate an ** un-supported EGPRS Switched Radio Block Loopback configuration. */ EL1_EGPRS_LOOPBACK_NOT_SUPPORTED , /* Dual Mode */ EL1_CANT_DECODE_SIB , /* Release 99 */ EL1_FAILURE_TO_SYNC , EL1_LAST_ERROR } EL1Error; typedef L1aHagGplcEmptySignal GsmL1Ready ; //ICAT EXPORTED STRUCT typedef struct EcphyGsmNcellBchIndTag { Int16 arfcn ; EUFrequency_Band gsmBandIndicator ; Int8 frame [ 23 ] ; Int16 subChannel ; Boolean crcCheckResult ; // 4 note: GPLC shall ignore gapEnd. it is used in L1A->ERRC Boolean gapEnd ; // CQ54808 by xpeng dsds begin // #if defined ( UPGRADE_DSDS ) // 4 note: GPLC shall ignore sim2Deactivated. it is used in L1A->ERRC Boolean sim2Deactivated ; // used in DSDS only. L1A notify ERRC about the deactivation of SIM2 // #endif // CQ54808 by xpeng dsds end /*CQ00131834 start add*/ Int8 bsic ; /*CQ00131834 end add*/ } EcphyGsmNcellBchInd; //ICAT EXPORTED STRUCT typedef struct EmphMonitorLteNcellReqTag { L1ASimId simId ; Int8 seqNum ; // 4 note: when this signal is sent by L1A to L1 , numElem = 1 Int8 numElem ; /*CQ00080834 start modify*/ Boolean newRoundFlag ; // used for L1a->L1 , set TRUE when is the first time use small gap to meas this freq. /*CQ00080834 end modify*/ // 4 note: only L1A / L1 use syncFlag Boolean syncFlag ; // TRUE: in-sync ; FALSE: out of sync. // SignedInt16 rsrpThreshold ; // rscpThreshold of 3 G is almost not used , so need not it now? // SignedInt16 rsrqThreshold ; // Int8 maxCellsReportPerUarfcn ; // need not it , because defined MAX_CELL_REPORT_PER_EARFCN in EmphLteNcellMeasInd , i.e. maxCellsReportPerUarfcn is MAX_CELL_REPORT_PER_EARFCN implicitly LteNcellMeasCtrl lteNcellMeasCtrl ; // The bandwith allow to measure , value range ( 6 , 15 , 25 , 50 , 75 , 100 ) Int8 measBandwidth [ 8 ] ; // IF: = INVALID_MEAS_BAND_WIDTH ( 0 ) , NW does not provide measBandwidth for this freq Earfcn eArfcn [ 8 ] ; /*CQ00107221 modify*/ // Boolean presenceAntennaPort1 [ ] ; // need not it because not such parameter in GSM } EmphMonitorLteNcellReq; typedef EmphMonitorLteNcellReq EmphMonitorLteNcellExpiryReq ; typedef L1aHagGplcEmptySignal EmphDeactivateCnf ; typedef L1aHagGplcEmptySignal DrxAbortFindLteCellReq ; typedef L1aHagGplcEmptySignal HaeHoldGsmCnf ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmReqTag { /** Band Mode * Band Mode to configure layer 1 too */ BandMode bandMode ; /** Activate Now * Reselect to GSM immediately , ignore activation time */ Boolean now ; /** Activate Time for reselection * The time to deactivate the 3 G L1 / PS */ Int8 activationTime ; // Boolean utranInOos ; ==> for LTE: // Boolean lteInOos ; EmphReselectToGsmType reselType ; // normal , OOS , redirect /** Number of cells * THe number of valid cells contained * within the arfcn and bsic arrays. */ Int8 numCells ; /** Arfcn List * Arfcn list to reselect too */ Int16 arfcn [ 64 ] ; /** bsic List * Bsic to be found on associated arfcn */ Int8 bsic [ 6 ] ; Int16 latestArfcn ; /* CQ00067942 Only used for CSFB.*/ } EmphReselectToGsmReq; typedef L1aHagGplcEmptySignal HaeReselectToLteFailCnf ; typedef L1GsmHandoverReq EHandoverFromEutranCommand ; //ICAT EXPORTED STRUCT typedef struct EmphHandoverToGsmReqTag { /** Indicates the bandmode associtated to the ARFCN and * network switching too for Layer 1 to configure itself */ BandMode bandMode ; /** The Handover command itself , channel config etc */ EHandoverFromEutranCommand hoCommand ; } EmphHandoverToGsmReq; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailReq ; typedef L1aHagGplcEmptySignal EmphHandoverToGsmFailCnf ; //ICAT EXPORTED STRUCT typedef struct EmphDeactivateReqTag { EL1DeactivationCause cause ; } EmphDeactivateReq; typedef L1aHagGplcEmptySignal EmphDrxAbortFindLteCellCnf ; //ICAT EXPORTED STRUCT typedef struct EmphLteNcellMeasureIndTag { Int8 seqNum ; Int8 numElem ; EmphLteNcellParams emphLteNcellParams [ 8 ] ; } EmphLteNcellMeasureInd; typedef EmphReselectToGsmReq HaeReselectToGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphReselectToGsmCnfTag { EL1Error l1Error ; } EmphReselectToGsmCnf; typedef L1aHagGplcEmptySignal HaeAbortNHoldGsmReq ; //ICAT EXPORTED STRUCT typedef struct EmphLteSibUnitDataIndTag { L1ASimId simId ; // The SFN number when the BCH is received Int16 sfn ; // The subframe number when the BCH is recievd Int16 subframe ; // To indicate whether this BCH is a MIB , TRUE: MIB , FALSE:SIB x Boolean mibIndicator ; // Number of antenna , value range ( 1 , 2 , 4 ) , valid when mibIndicator is TRUE Int8 numOfAntenna ; // Physical cell Id , value range:0~503 Int16 phyCellId ; // Frequency Earfcn euArfcn ; /*CQ00107221 modify from Int16*/ // Scheduling index , to indicates which SI-window ' s information is decoded Int8 schedIndex ; // CRC result , value range: TRUE: OK , FALSE:NOK Boolean crcResult ; // Length of the BCH payload Int16 length ; Boolean gapEnd ; // TRUE: gap ended SignedInt16 reserved1 ; // mibData [ 0 ] ~ [ 2 ] is used for mib payload , mibData [ 3 ] is reserved. / *2011.10.28 added* / // the highst bit ( leftmost bit of binary form ) of mibData [ 0 ] corresponds to bit 0 of MIB , which is the highst bit of dl-Bandwidth. // the lowest bit ( rightmost bit of binary form ) of mibData [ 3 ] corresponds to bit 23 of MIB. Int8 mibData [ 4 ] ; Int8 *data ; } EmphLteSibUnitDataInd; typedef L1aHagGplcEmptySignal EmphReselectToLteFailReq ; typedef L1aHagGplcEmptySignal EmphSuspendInd ; typedef plmRssiScanReq_ts EmphRssiScanReq ; typedef plmRssiScanCnf_ts EmphRssiScanCnf ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortReq ; typedef L1aHagGplcEmptySignal EmphRssiScanAbortCnf ; //ICAT EXPORTED STRUCT typedef struct GsmBcchDecodeIndExtTag { Int8 bsic ; } GsmBcchDecodeIndExt; //ICAT EXPORTED ENUM typedef enum L1aCommonCmdIdTag { // 4 commonId in 0x02E4 ( LTE_ECPHY_COMMON_REQ ) & 0x033C ( LTE_ECPHY_COMMON_CNF ) L1A_CMID_ADC_VOL_VALURE_REQ = 1 , // 4 for adc query req 0x02E4 ( battery voltage one-short , lenOfPara=0 ) L1A_CMID_ADC_VOL_VALUE_CNF = 2 , // 4 for adc query cnf 0x33C ( battery voltage ) L1A_CMID_ADC_TEMP_VALUE_CNF = 3 , // 4 for adc query cnf 0x33C ( battery temp ) L1A_CMID_ADC_VALUE_REQ =4 , // 4 for adc query req 0x02E4 ( battery voltage or / and temperature ) } L1aCommonCmdId; //ICAT EXPORTED STRUCT typedef struct L1aCommonCmdTag { // 4 reuse 0x02E4 ( LTE_ECPHY_COMMON_REQ ) to send ADC Req to L1. reuse 0x033C ( LTE_ECPHY_COMMON_CNF ) to handle ADC cnf to L1A Int8 commonId ; /*details refer to L1aCommonCmdId*/ Int8 lenOfPara ; /*in byte , IPC size is ( lenOfPara+4 ) , 4 for commonId & lenOfPra & dummy [ 2 ] */ Int8 dummy [ 2 ] ; Int8 para [ 64 ] ; /* if commonId = L1A_CMID_ADC_VALUE_REQ , then lenOfPara=2 , para [ 0 ] is queryType , para [ 1 ] is queryCntx. queryType: 0 : stop dsp periodical report 1 : start dsp periodical report 2 : one-short query queryCntx: 0 : voltage 1 : temperature 2 : voltage and temperature */ } L1aCommonCmd; typedef Int8 L1aL1cEmptySignal ; typedef L1aL1cEmptySignal L1cReselectToLteReq ; typedef L1aL1cEmptySignal L1cHandoverToLteFailReq ; typedef L1aL1cEmptySignal L1cTdNcellBchStopReq ; typedef L1aL1cEmptySignal L1cLteNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aReselectToTddUtraReq ; typedef L1aL1cEmptySignal L1aReselectToTddUtraCnf ; typedef L1aL1cEmptySignal L1aReselectToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToLteCnf ; typedef L1aL1cEmptySignal L1aSwitchRatToUmtsCnf ; typedef L1aL1cEmptySignal L1aHandoverToLteInd ; typedef L1aL1cEmptySignal L1aTdNcellBchStopCnf ; typedef L1aL1cEmptySignal L1aLteNcellBchStopReq ; //ICAT EXPORTED ENUM typedef enum { NULL_RAT =0 , WCDMA_RAT , TDSCDMA_RAT , GSM_RAT , LTE_RAT , ALL_RAT , NR_RAT // CQ00133130 add } initialRat_te; //ICAT EXPORTED ENUM typedef enum RatSetCauseTag { RAT_CAUSE_NULL , POWER_ON_ON_GSM , POWER_ON_ON_TD , DRAT_HO_TD_TO_GSM , DRAT_HO_TD_TO_GSM_FAIL , // 4 DRAT_HO_GSM_TO_TD , DRAT_HO_GSM_TO_TD_FAIL , DRAT_RESEL_GSM_TO_TD , DRAT_RESEL_GSM_TO_TD_FAIL , DRAT_CCO_TD_DCH_TO_GSM , // 9 DRAT_CCO_TD_DCH_TO_GSM_FAIL , DRAT_RESEL_TD_IDLE_TO_GSM , DRAT_RESEL_TD_IDLE_TO_GSM_FAIL , DRAT_RESEL_TD_FACH_TO_GSM , DRAT_RESEL_TD_FACH_TO_GSM_FAIL , // 14 DRAT_SWITCH_TD_TO_GSM , DRAT_SWITCH_GSM_TO_TD , PLMN_SEARCH_IN_TD_GSM_BCCH_DECODE , PLMN_SEARCH_IN_TD_BACK_TO_TD , PLMN_SEARCH_IN_GSM_TD_BCH_DECODE , // 19 PLMN_SEARCH_IN_GSM_BACK_TO_GSM , SWITCH_TO_TD_ATTER_GSM_TERMINATE , DRAT_SET_FROM_GPLC , POWER_ON_LTE , // 23 /* CQ00019250 - Update IRAT feature - begin */ IRAT_HO_LTE_TO_TD , // 24 IRAT_HO_LTE_TO_TD_FAIL , IRAT_HO_TD_TO_LTE , IRAT_HO_TD_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_TD , IRAT_RESEL_LTE_TO_TD_FAIL , // 29 IRAT_RESEL_TD_TO_LTE , IRAT_RESEL_TD_TO_LTE_FAIL , PLMN_SEARCH_IN_LTE_TD_BCCH_DECODE , PLMN_SEARCH_IN_TD_LTE_BCCH_DECODE , DRAT_RESEL_GSM_TO_LTE , // 34 DRAT_RESEL_GSM_TO_LTE_FAIL , DRAT_RESEL_LTE_TO_GSM , DRAT_RESEL_LTE_TO_GSM_FAIL , PLMN_SEARCH_IN_TD_LTE_BACK_TO_TD , PLMN_SEARCH_IN_GSM_LTE_BCCH_DECODE , // 39 PLMN_SEARCH_IN_GSM_LTE_BACK_TO_GSM , // 4 40 PLMN_SEARCH_IN_LTE_GSM_BCCH_DECODE , PLMN_SEARCH_IN_LTE_GSM_BACK_TO_LTE , PLMN_SEARCH_IN_LTE_TD_BACK_TO_LTE , /*Add by qhli begin*/ IRAT_HO_LTE_TO_WB = 44 , IRAT_HO_LTE_TO_WB_FAIL , IRAT_HO_WB_TO_LTE , IRAT_HO_WB_TO_LTE_FAIL , IRAT_RESEL_LTE_TO_WB , // 48 IRAT_RESEL_LTE_TO_WB_FAIL , IRAT_RESEL_WB_TO_LTE , // 4 50 IRAT_RESEL_WB_TO_LTE_FAIL , IRAT_REDIR_WB_TO_LTE_FAIL , // CQ65927 for WB Redir To Lte Fail issue PLMN_SEARCH_IN_LTE_WB_BCCH_DECODE , PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , PLMN_SEARCH_IN_LTE_WB_BACK_TO_LTE , PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , /*Add by qhli end*/ // IRAT_RESEL_WB_TO_LTE , // PLMN_SEARCH_IN_WB_LTE_BCCH_DECODE , // PLMN_SEARCH_IN_WB_LTE_BACK_TO_WB , // IRAT_RESEL_LTE_TO_WB_FAIL , /* CQ00019250 - Update IRAT feature - end */ // CQ00035825 , Add IRAT CGI cause , start IRAT_WB_CGI_IN_LTE , IRAT_WB_CGI_BACK_TO_LTE , IRAT_GSM_CGI_IN_LTE , IRAT_GSM_CGI_BACK_TO_LTE , // 4 60 IRAT_TD_CGI_IN_LTE , IRAT_TD_CGI_BACK_TO_LTE , // CQ00035825 , Add IRAT CGI cause , end // CQ35801 w / g iRat Casue , start PLMN_SEARCH_IN_WB_GSM_BCCH_DECODE , PLMN_SEARCH_IN_WB_GSM_BACK_TO_WB , PLMN_SEARCH_IN_GSM_WB_BCCH_DECODE , PLMN_SEARCH_IN_GSM_WB_BACK_TO_GSM , IRAT_HO_WB_TO_GSM , IRAT_HO_WB_TO_GSM_FAIL , IRAT_HO_GSM_TO_WB , IRAT_HO_GSM_TO_WB_FAIL , // 4 70 IRAT_RESEL_GSM_TO_WB , IRAT_RESEL_GSM_TO_WB_FAIL , IRAT_RESEL_WB_TO_GSM , IRAT_RESEL_WB_TO_GSM_FAIL , IRAT_SWITCH_WB_TO_GSM , IRAT_SWITCH_GSM_TO_WB , // CQ35801 w / g iRat Casue , end POWER_ON_WB , // CQ42646 for CQ42639 /*Modify for CQ00054259 by qhli begin*/ IRAT_SWITCH_WB_TO_LTE , IRAT_SWITCH_LTE_TO_WB , /*Modify for CQ00054259 by qhli end*/ /* Add for LTE / GSM handover IRAT case */ IRAT_HO_LTE_TO_GSM , // 4 80 IRAT_HO_LTE_TO_GSM_FAIL , IRAT_HO_GSM_TO_LTE , IRAT_HO_GSM_TO_LTE_FAIL , LTE_IPC_RECEIVED_IN_NON_LTE_MODE , LTE_CSFB_GSM , /*CQ00079576 add , value = 84 */ GSM_PWROFF_TO_RESETMODE , /*CQ00133130 start add*/ RAT_CAUSE_RESERVED_2 , RAT_CAUSE_RESERVED_1 , RAT_CAUSE_RESERVED_0 , // #if defined ( UPGRADE_NR ) // not add macro to adapt to all products. POWER_ON_NR = 90 , // 4 90 // NR->LTE IRAT_RESEL_NR_TO_LTE , // common for resel / redirect IRAT_RESEL_NR_TO_LTE_FAIL , // common for resel / redirect IRAT_HO_NR_TO_LTE , IRAT_HO_NR_TO_LTE_FAIL , // LTE->NR fail IRAT_RESEL_LTE_TO_NR , // common for resel / redirect IRAT_RESEL_LTE_TO_NR_FAIL , // common for resel / redirect IRAT_HO_LTE_TO_NR , IRAT_HO_LTE_TO_NR_FAIL , // #endif /*CQ00133130 end add*/ // 3 NOTE: make sure enum value < 127 , because SetModeReq ( 0x8e ) ->modeSetCause only take 7 bits. ( 111 1111 = 127 ) RAT_CAUSE_MAX_NUM = 127 // RAT_CAUSE_NUM } RatSetCause; //ICAT EXPORTED ENUM typedef enum { GPLC_IN_STATE_INVALID = 0 , GPLC_IN_STATE_IDLE , GPLC_IN_STATE_IDLE_AFTER_PCH , GPLC_IN_STATE_GPRS_PTM , GPLC_IN_STATE_DEDICATED } GplcState_te; //ICAT EXPORTED STRUCT typedef struct pldGsmCellInfo_tsTag { unsigned short wArfcn ; signed short iRssi ; unsigned long dwRssiAgeInMs ; signed short iFreqOffset ; unsigned short wQBitOffset ; unsigned long dwFrameOffset ; unsigned long dwBsicAgeInMs ; unsigned char ucCellStatus ; unsigned char ucBsic ; unsigned char pad [ 2 ] ; } pldGsmCellInfo_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; Bool bandIndicator ; /* ( GPLC define:TRUE == DCS 1800 ; FALSE == PCS 1900 ) */ UINT8 bsic ; UINT16 nCellBcchControl ; } GsmBcchDecodeReqInTd_ts; //ICAT EXPORTED STRUCT typedef enum { RSSI_NOT_ACTIVE , RSSI_ACTIVE , RSSI_SUSPEND , RSSI_FINISH , RSSI_STOP , } RssiStateInIrat_te; //ICAT EXPORTED STRUCT typedef struct { UINT16 numOfUarfcns ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; } rssi_reply_ts; //ICAT EXPORTED STRUCT typedef struct { UINT8 MeasSyncId ; RssiStateInIrat_te RssiState ; UINT16 numOfUarfcns ; UINT16 currentUarfcnIndex ; UINT16 minFreqInBand ; UINT16 uarfcnList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; INT16 rssi [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT16 uarfcnScoreList [ ( ( ( 1513 + 1 ) - 1162 ) + 0 ) ] ; UINT32 endTs ; // valid only for RssiScanMeas } UtranRssiMeasParamInLte; //ICAT EXPORTED STRUCT typedef struct { UINT8 CyclesBetweenBSS ; GplcState_te GplcState ; } plgGsmScenarioForCellMeas_ts; //ICAT EXPORTED STRUCT typedef struct { UINT16 arfcn ; UINT16 nCellBcchControl ; Bool bandIndicator ; // UINT8 pad [ 3 ] ; INT16 rssivalue ; } GsmBcchDecodeReqInWb_ts; //ICAT EXPORTED STRUCT typedef struct { GsmBcchDecodeReqInWb_ts gsmBcchInfoArray [ 8 ] ; UINT8 NumOfBcchArfcn ; } GsmBcchDecodeReqDBInWb_ts; //ICAT EXPORTED STRUCT typedef struct { UINT32 time2Meas ; UINT8 numOfUarfcns ; BYTE pad [ 3 ] ; UINT16 UafcnList [ 10 ] ; } GsmRssiScanInWb_ts; //ICAT EXPORTED STRUCT typedef struct utranCellMeasIndPerSCTag { UINT16 scramblingCode ; /* Primary scrambling code */ INT16 cpichEcNo ; /* In 1 / 8 dB units ( -320 0 ) */ INT16 cpichRscp ; /* In 1 / 8 dBm units ( -1336 0 ) */ UINT16 pad ; } utranCellMeasIndPerSC; //ICAT EXPORTED STRUCT typedef struct UtranCellMeasIndPerUarfcnTag { UINT16 uarfcn ; UINT8 numOfCells ; /* ( 0 32 ) */ Bool lastIndicationFlag ; /* last indication in measurement cycle */ INT16 rssiInd ; /* { -1016 - 0 } in [ 1 / 8 dBm ] units */ utranCellMeasIndPerSC utranCellMeasInd [ 32 ] ; } UtranCellMeasIndPerUarfcn; typedef void ( *plgMphDeactivateCnf_t ) ( void ) ;